Hermann: Thanks so much. This is very helpful. I thought I was in for a huge tussle getting this to work and now I see that it’s not going to be a huge hassle. I write geophysical data on a map and Google puts out some nice looking terrain maps, and now I don’t need to include maps in my app. Wonderful!
Best, Bill > On Apr 28, 2017, at 11:17 AM, hh via use-livecode > <use-livecode@lists.runrev.com> wrote: > > 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. > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode