I'll poke around more. Maybe I'll get lucky (boatloads of no in that phrase) and find a solution.
On Fri, Apr 28, 2017 at 5:55 PM, William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > Ok, its a bit more complicated. After my initial high at thinking the > problem was solved (rushing to a haircut appointment before looking > carefully), I noticed that the returned data from Mike’s reverse geocoding > URL didn’t change with the zoom level. So apparently, it’s only applied to > the stated location. The reverse geo lookup finds a city or address and the > “bounds” elements don’t give the lat/lon values at the corner of the image. > > I’m fiddling with this, and I’ve got the link (somewhat incomplete > derivation) of how to calculate the corner lat/lons, so I’ll try that next. > I wish there was a google call I could make that would give me this info, > but I can’t find it. > > Best, > Bill > > > On Apr 28, 2017, at 1:49 PM, William Prothero via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I’m willing. Hermann has been generous with good ideas too. > > Best, > > Bill > > > >> On Apr 28, 2017, at 1:45 PM, Mike Bonner via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> > >> If you ever get down to the middle of nowhere new mexico, I'll take you > up > >> on the lunch offer. :) Think others mentioned the same api though, so > >> there might be lunches all around. > >> > >> > >> On Fri, Apr 28, 2017 at 2:41 PM, William Prothero via use-livecode < > >> use-livecode@lists.runrev.com> wrote: > >> > >>> Mike: > >>> OMG, I LOVE YOU! Fantastic, this is just what I need. I hope I meet you > >>> some day so I can buy you dinner. Let me know if you get by Santa > Barbara, > >>> or Portland area. > >>> > >>> Best, > >>> Bill > >>> > >>> > >>>> On Apr 28, 2017, at 10:56 AM, Mike Bonner via use-livecode < > >>> use-livecode@lists.runrev.com> wrote: > >>>> > >>>> If you do a second call to the geocode api you can get the info you > need. > >>>> > >>>> https://maps.googleapis.com/maps/api/geocode/json?address= > >>> Berkeley,+CA&zoom=14&size=400x400 > >>>> > >>>> There appear to be 2 location sections. One contains the bounds of > the > >>>> request, the other contains the bounds of the viewport IE zoom level > 14, > >>> at > >>>> 400x400 > >>>> > >>>> i haven't really tested much other than to see what kind of results > come > >>>> back, but hopefully this will get you to where you want to go. > >>>> > >>>> I also saw the following.. > >>>> https://gis.stackexchange.com/questions/46729/corner- > >>> coordinates-of-google-static-map-tile > >>>> which is very interesting. The problem being you would still need the > >>>> center point as a starting position, then you can calculate the > corners > >>>> based on the zoom factor. > >>>> > >>>> On Fri, Apr 28, 2017 at 9:42 AM, prothero--- via use-livecode < > >>>> use-livecode@lists.runrev.com> wrote: > >>>> > >>>>> Thanks for the openstreetmap link. I'm really liking the Google maps > >>>>> option since my app is being developed for free distribution to > >>> educators > >>>>> and I am not particularly interested in streets. The satellite or > >>> terrain > >>>>> views are what I want. > >>>>> > >>>>> Now all I have to do is figure out how to get the lat/Lon values at > the > >>>>> corners. Then I'll be all set. > >>>>> > >>>>> If anybody else is interested in what .I'm doing, I'll be glad to > share > >>>>> code. > >>>>> > >>>>> Best, > >>>>> Bill > >>>>> > >>>>> Best,Mike: > >>>>> Bill > >>>>> > >>>>> William Prothero > >>>>> http://es.earthednet.org > >>>>> > >>>>>> On Apr 28, 2017, at 2:22 AM, hh via use-livecode < > >>>>> use-livecode@lists.runrev.com> wrote: > >>>>>> > >>>>>> Not to forget related to (static) maps, especially as you can have > >>>>>> them from there also as SVG or 'true' PDF (not embedded PNG only): > >>>>>> > >>>>>> https://www.openstreetmap.org > >>>>>> > >>>>>> For exporting as HTML link or as an "image" (JPG, PNG, SVG, PDF) > >>>>>> see https://wiki.openstreetmap.org/wiki/Export > >>>>>> > >>>>>> In short: > >>>>>> Don't use the Export button at top/left (which is for raw map > >>>>>> data) but _the sharing link at right_ that opens a prefs box. > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> 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 > >>>>> > >>>> _______________________________________________ > >>>> 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 > >>> > >> _______________________________________________ > >> 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 > > > _______________________________________________ > 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