Graham, My demo stack was enhanced a lot by Hermann but I don’t know where it is, after a cursory search. He added a bunch of other capabilities, but I felt a quick look at the Google map docs would make it easy to add them. His expanded version may be in the examples repository. I didn’t check it.
My main problem was to calculate the bounding lat/lons of the displayed map. Good luck with it. William Prothero https://earthlearningsolutions.org > On May 29, 2020, at 11:24 PM, Graham Samuel via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Bill, thanks for all this. I will study it today (it’s breakfast time in > France as I write this). > > I did some internet searching to look at the underlying Apple Map system - > which is used for the LC version of the Map widget for iOS - and its API. > It’s rich and complex, so the widget just scratches the surface of the > available functionality, > > This saddened my a bit, but then I reflected on the enormous simplification > that LC represents for a developer compared with what you’d have to learn and > apply before getting anywhere at all coding a mobile app ‘outside’ LC. It > really is quite alarming. I was a geek once, and learned and applied some > very obscure languages within very primitive and obscure systems, but I have > zero taste for that sort of thing now. As a further example, take a quick > look at what Apple say to attract you to their Swift language. They want to > tell you it’s easy and fun - I think one can have a contrary opinion, > especially if one has never coded in Objective-C or anything like it. [That > was a pro-LiveCode rant, in case you didn’t notice.] > > Graham > >> On 30 May 2020, at 00:44, prothero--- via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Graham: >> If that doesn’t have everything, I have a zip file at: >> http://earthlearningsolutions.org/google-static-maps-demo/ >> <http://earthlearningsolutions.org/google-static-maps-demo/> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >>>> On May 29, 2020, at 3:42 PM, William Prothero via use-livecode >>>> <use-livecode@lists.runrev.com> wrote: >>> >>> Graham: >>> Here is a link to an example that I, with lots of help from Hermann >>> created. Maybe it will be useful. All done in livecode, so it should work. >>> Haven’t tried it since 2017, tho. >>> Bill >>> >>> https://www.dropbox.com/s/kg5l80bi82u1sap/google-maps-demo.livecode?dl=0 >>> <https://www.dropbox.com/s/kg5l80bi82u1sap/google-maps-demo.livecode?dl=0> >>> >>> William A. Prothero >>> https://earthlearningsolutions.org >>> >>>> On May 25, 2020, at 1:57 PM, Graham Samuel via use-livecode >>>> <use-livecode@lists.runrev.com> wrote: >>>> >>>> Back to my problems with inadequate documentation on widgets. The Map >>>> widget is probably very powerful, but the Dictionary entry simple tells >>>> you the names of the parameters. I can’t work out anything about the >>>> format of the data you can feed in, or what it looks like when it comes >>>> out. There isn’t even enough info to start a meaningful experiment, IMHO. >>>> >>>> Does anyone know of a source of helpful documentation on this? I am as >>>> ever interested in the iOS version. >>>> >>>> Thanks for any info. >>>> >>>> Graham >>>> _______________________________________________ >>>> 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