Since I'm not into using Google Maps as source for maps I took the liberty to create a slightly modified version of the script.
It is really simple just change this line:
Code: Select all
txt = date + ": <a target='_blank' style='color: black;' href='https://www.google.com/maps/search/?api=1&query=" + lat + "+" + lon + "'>" + plaats + "</a><br/>" + \
into this:
Code: Select all
txt = date + ": <a target='_blank' style='color: black;' href='https://www.openstreetmap.org/?zoom=15&mlat=" + lat + "&mlon=" + lon + "'>" + plaats + "</a><br/>" + \
and you'll be able to show the location on the maps of
www.openstreetmap.org.