Getting a Google MAP

hh hh at hyperhh.de
Fri Apr 28 14:17:01 EDT 2017


Have you already seen this nifty utility?
http://staticmapmaker.com/google/

===

I use the following for getting the geo-location.

on mouseUp
  put url ("https://maps.googleapis.com/maps/api/geocode/" & \
      "json?address=25a+Thistle+Street+SW,+Edinburgh,+UK") into rslt
  replace quote with empty in rslt
  replace space with empty in rslt
  put offset ("location:{",rslt) into offs
  put line 2 to 3 of (char offs to -1 of rslt) into fld 1
end mouseUp

For displaying, I usually align the (right-aligned) fld 1 
to the botRight of the image/ map display.






More information about the use-livecode mailing list