Have you already seen this nifty utility?


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.

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to