Re: map widget offline
On 10/5/22 13:53, Mike Kerner via use-livecode wrote: has anyone messed around with using the map widget offline? i was in a hurricane zone, last week, and over the weekend. there was a fair amount of offline time, when having maps loaded into my droid phone would have been useful. the offline map apps that i can find have limited zoom capability. I use Sygic for offline maps on my Android phone. -- Mark Wieder ahsoftw...@gmail.com ___ 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
map widget offline
has anyone messed around with using the map widget offline? i was in a hurricane zone, last week, and over the weekend. there was a fair amount of offline time, when having maps loaded into my droid phone would have been useful. the offline map apps that i can find have limited zoom capability. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ 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
Re: Map Widget - how does it actually work?
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 > 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 >> 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 >>>> 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 >>>> 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
Re: Map Widget - how does it actually work?
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 > 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 >> 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 >>> 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
Re: Map Widget - how does it actually work?
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 > 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 >> 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
Re: Map Widget - how does it actually work?
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 > 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
Re: Map Widget - how does it actually work?
Thanks Bernard. I shall shelve my map utility until I notice the bug is fixed. Graham > On 26 May 2020, at 19:18, Niggemann, Bernd via use-livecode > wrote: > > Unfortunately polylines stoppt working in recent versions of LC > > https://quality.livecode.com/show_bug.cgi?id=22377 > > Kind regards > Bernd > > ___ > 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
Re: Map Widget - how does it actually work?
Unfortunately polylines stoppt working in recent versions of LC https://quality.livecode.com/show_bug.cgi?id=22377 Kind regards Bernd ___ 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
Re: Map Widget - how does it actually work?
Thanks Alex - that’s solid gold! I might even be able to use the widget, though perhaps not for what I intended which was to draw a route consisting of a series of standard Lat-Lon coordinates, in other words a very large number of linked polylines. This is a tentative conclusion, so probably wrong. This is the first time I’ve realised that the Guide you get when you click on ‘Dictionary’ in the LC menu is different from the “User Guide” which you can access via the same menu. I haven’t got time to find out the differences, but I note that “Map Widget” appears in one and not the other. Or am I wrong? Try searching the "LiveCode 9.6.0-rc-2 User Guide 5/19/20” and see what you get. Graham > On 26 May 2020, at 02:39, Alex Tweedly via use-livecode > wrote: > > However, in the dictionary under "Guide" you can find some more info / > example about the map widget. In particular, it defines the format used for > region, coordinates, span and markers - which is probably all that you need > (I think all the others parameters in the API are booleans). ___ 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
Re: Map Widget - how does it actually work?
On 5/25/20 5:39 PM, Alex Tweedly via use-livecode wrote: The source code for all the widgets provided 'out of the box' is accessible so you can take those widgets as a base and improve and extended them as you need. Unfortunately, there is a non-obvious meaning to "out of the box" - what it means is "source code for all the widgets provided 'out of the box' *in the community version* is accessible ..." So, sadly, you can't just go look at the source code to find out what you need. The manifest xml file for the map widget lists its license as "community", which seems wrong. However, *every* extension has a license of "community", which seems wronger still. I don't see any way to set that, so it must be an extension builder "feature". -- Mark Wieder ahsoftw...@gmail.com ___ 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
Re: Map Widget - how does it actually work?
Well, the big advantage of widgets is that you can look at the source code. As it says in the Livecode Lesson ( http://lessons.livecode.com/m/4071/l/1005132-how-do-i-modify-a-livecode-widget ), What do you do if a LiveCode widget is missing a property or message you need? The source code for all the widgets provided 'out of the box' is accessible so you can take those widgets as a base and improve and extended them as you need. Unfortunately, there is a non-obvious meaning to "out of the box" - what it means is "source code for all the widgets provided 'out of the box' *in the community version* is accessible ..." So, sadly, you can't just go look at the source code to find out what you need. However, in the dictionary under "Guide" you can find some more info / example about the map widget. In particular, it defines the format used for region, coordinates, span and markers - which is probably all that you need (I think all the others parameters in the API are booleans). Disclaimer: I have never used the map widget - everything I say here is taken at face value from the doc and the visible files within the widget folder of 9.6.0(rc1) Alex. On 25/05/2020 21:57, Graham Samuel via use-livecode 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
Map Widget - how does it actually work?
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
Map widget and user location
I am trying to familiarise myself with the map widget. What I want to do is to get the coordinates for the user location and to set a pin for this location. As it is possible to show the user location in the map widget, my original idea was to retrieve the information from the widget and apply it to a marker in a mouseUp handler. If anyone could point me in the right direction I would be a very happy man. Best regards Tore Nilsen ___ 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
Map Widget
Merry Christmas and happy new year 2019 I have a problem with map widget, on android the app close, when I´ll try to create a map widget by a button create widget as "com.livecode.widget.native.map" best regards Jose Enrique Montero ___ 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
Re: Map Widget with Custom Marker
> Brian M. wrote: > Try this one (similar concept) > http://forums.livecode.com/viewtopic.php?p=173867#p173867 This will not work. I just tried: The map widget updates in short intervals like a movie. Even a native button disappears. So the overlaying native object should also use a fast update like http://forums.livecode.com/viewtopic.php?p=172789#p172789 which forces a fast update by playing a *non-existent movie. Another possibility with the map widget itself is to make the custom marker using polylines. (See property polylines of dictionary/map widget). Polylines[i]["ccordinates"] are a simple list of coordinate points, separated by comma (not by cr). So one could try to exercise that with an ordinary polygon graphic over a static map (an image). ___ 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
Re: Map Widget with Custom Marker
Strange. Try this one (similar concept) http://forums.livecode.com/viewtopic.php?p=173867#p173867 Thanks, Brian On Dec 18, 2018, 4:15 PM -0600, Scott Rossi via use-livecode , wrote: > Thank you for the response, but getting a forum error 172729 doesn't > exist(?). > > On Tue, Dec 18, 2018 at 2:09 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > It is a native layer so it the only LC object that would work would be > > another browser widget. There was a demo a while back of doing that. > > > > http://forums.livecode.com/viewtopic.php?p=172729#p172729 > > > > Thanks, > > Brian > > On Dec 18, 2018, 3:52 PM -0600, Scott Rossi via use-livecode < > > use-livecode@lists.runrev.com>, wrote: > > > Hi All: > > > > > > Wondering if it's possible to use a custom marker with the map widget. I > > > want to continuously track and show the user's location with a custom > > icon, > > > but can't find any way to overlay an image on the widget, as it seems to > > be > > > the equivalent of a web view. > > > > > > Thanks for any suggestions. > > > ___ > > > 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
Re: Map Widget with Custom Marker
Thank you for the response, but getting a forum error 172729 doesn't exist(?). On Tue, Dec 18, 2018 at 2:09 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > It is a native layer so it the only LC object that would work would be > another browser widget. There was a demo a while back of doing that. > > http://forums.livecode.com/viewtopic.php?p=172729#p172729 > > Thanks, > Brian > On Dec 18, 2018, 3:52 PM -0600, Scott Rossi via use-livecode < > use-livecode@lists.runrev.com>, wrote: > > Hi All: > > > > Wondering if it's possible to use a custom marker with the map widget. I > > want to continuously track and show the user's location with a custom > icon, > > but can't find any way to overlay an image on the widget, as it seems to > be > > the equivalent of a web view. > > > > Thanks for any suggestions. > > ___ > > 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
Re: Map Widget with Custom Marker
It is a native layer so it the only LC object that would work would be another browser widget. There was a demo a while back of doing that. http://forums.livecode.com/viewtopic.php?p=172729#p172729 Thanks, Brian On Dec 18, 2018, 3:52 PM -0600, Scott Rossi via use-livecode , wrote: > Hi All: > > Wondering if it's possible to use a custom marker with the map widget. I > want to continuously track and show the user's location with a custom icon, > but can't find any way to overlay an image on the widget, as it seems to be > the equivalent of a web view. > > Thanks for any suggestions. > ___ > 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
Map Widget with Custom Marker
Hi All: Wondering if it's possible to use a custom marker with the map widget. I want to continuously track and show the user's location with a custom icon, but can't find any way to overlay an image on the widget, as it seems to be the equivalent of a web view. Thanks for any suggestions. ___ 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
Re: map widget
[Dictionary/map] set the region of widget "Map" to "55.9533,-3.1883, 10, 10" The region of a map widget is a tuple describing the map region currently displayed; the first two items are the centerCoordinates and the second two the span. set the centerCoordinates of widget "Map" to "55.9533,-3.1883" first item is latitude, second item is longitude ___ 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
map widget
Does anyone have an example of using the "map widget"? I got my current location of lat/long and now want to display it on a map. I have set up my api key but have not seen any example of how to implement the map.. what I really want to do is to show my location and also any nearby restaurants, gas stations nearby. I have seen some livecode examples of this but not the code of how to accomplish it. Any help would be much appreciated. Thanks. ___ 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
Re: using the map widget
Herman made an excellent stack that demos the use of Google Maps. I have a link to it here: http://earthlearningsolutions.org/google-static-maps-demo/ <http://earthlearningsolutions.org/google-static-maps-demo/> You need to get an API key from Google, but the demo shows how to set it up. This may be more useful than the widget, as there is a lot of documentation by Google on how to set it up, which is pretty easy. Best, Bill > On Oct 29, 2018, at 7:48 PM, Mike for GDC via use-livecode > wrote: > > I am trying to implement the map widget within my app. I have entered my > api code in the inclusions and have looked at the example given in the > livecode article but so far it has not worked. Does anyone have an example > of using it in an app? What I want is to be able to retrieve the current > location (lat and long) and then use that to present > > my map in the map widget. I would have hoped it would be fairly straight > forward but I have never actually seen an example of script that works.. I > would appreciate any help anyone might have. > > Thanks. Mike > > ___ > 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
using the map widget
I am trying to implement the map widget within my app. I have entered my api code in the inclusions and have looked at the example given in the livecode article but so far it has not worked. Does anyone have an example of using it in an app? What I want is to be able to retrieve the current location (lat and long) and then use that to present my map in the map widget. I would have hoped it would be fairly straight forward but I have never actually seen an example of script that works.. I would appreciate any help anyone might have. Thanks. Mike ___ 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
Re: Tutorial for MAP widget
Klaus- After further inspection I agree with you that this widget needs a proper tutorial. I was looking at the module itself trying to find some undocumented features (like a polygon or circle overlay instead of just a polyline) and came up empty handed. After looking at the W3Schools tutorial @ https://www.w3schools.com/graphics/google_maps_overlays.asp I noticed that you could create multiple polyline segments using the native Google Maps API. The demo code in the LC 9.0.0 docs (not the dictionary, but the doc referenced in my previous post) uses the following example: put "55,-3,55,-5" into tPolylines["line"]["coordinates"] It isn't documented, but this is a comma delimited list of lat/long value pairs (also separated by a comma) to be used as points for connecting line segments. So in the provided example a line segment is drawn from "55,-3" to "55,-5" on the map. But you can draw a triangle between Edinburgh (55,-3), New York (40,-74), and Cairo (30,31) then back to Edinburgh with this: put "55,-3,40,-74,30,31,55,-3" into tPolylines["line"]["coordinates"] The closed triangle needs 4 sets of coordinates, not just 3, so it can return to the "home" point. Still not quite the polygon overlay that the Google Maps API provides, but a neat option that wasn't evident by reading the current documentation. It's also not explicitly documented that the "color" property will accept a RGBA value so the following example provides an orange-ish overlay with a ~39% opacity (100 / 255): put "228,128,0,100" into tPolylines["line"]["color"] In fact, the dictionary reference for polylines only shows RGB as an example. This is an extremely powerful widget... if you know what it is actually doing. --Andrew Bell From: Klaus major-k To: How to use LiveCode Subject: Tutorial for MAP widget Message-ID: Content-Type: text/plain; charset=us-ascii Hi all, could someone (the mothership?) please create a little tuorial for the new MAP widget? This is really not self-explaining. How to let the user create a new marker etc... Thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Re: Tutorial for MAP widget
Like this? https://livecode.com/docs/9-0-0/components/map-widget/ I will be talking a little about my Map widget implementation during a LC Global talk next month. --Andrew Bell From: Klaus major-k To: How to use LiveCode Subject: Tutorial for MAP widget Message-ID: Content-Type: text/plain; charset=us-ascii Hi all, could someone (the mothership?) please create a little tuorial for the new MAP widget? This is really not self-explaining. How to let the user create a new marker etc... Thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Tutorial for MAP widget
Hi all, could someone (the mothership?) please create a little tuorial for the new MAP widget? This is really not self-explaining. How to let the user create a new marker etc... Thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Re: Map Widget Futures
Thanks Ali I'm clearly "out of my depth" here… after looking at the Google Maps model. looking at: com.google.android.gms.maps.model I think see why you are talking about overlays, as these comprise "model classes" GroundOverlay A ground overlay is an image that is fixed to a map. GroundOverlayOptionsDefines options for a ground overlay. So it does not seem like it is feasible for us to simply "drop in" a large vector diagram/map/illustration… unless perhaps there was some third party which could do, as you say, insert this as an overlay into map object, so that, instead of UK, we would have "Middle Earth" Something to think about: if you get this far with the tech, pushing it just enough to allow a custom environment (assuming it meets some standards obviously) would be interesting BR On 12/6/17, 11:23 PM, "use-livecode on behalf of Ali Lloyd via use-livecode"wrote: Brahma, it's my understanding that you *are* talking about overlays - or at least using overlays is exactly how such things are achieved with a native map object. You override a method that returns a particular image for the currently visible tiles of the map, so that you don't have to have your whole map image in memory all the time. The default implementation on both platforms retrieves map images from somewhere online ___ 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
Re: Map Widget Futures
On Thu, Dec 7, 2017 at 12:56 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Ali Lloyd wrote: > > > ...make the map widget a lot more flexible on the > > objective-c side... > > iOS-only? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > > ambassa...@fourthworld.comhttp://www.FourthWorld.com > > We would do whatever is feasible in a cross-platform way. Actually looking at it now, there would be a similar thing on Android: https://developers.google.com/android/reference/com/google/android/gms/maps/model/TileProvider Brahma, it's my understanding that you *are* talking about overlays - or at least using overlays is exactly how such things are achieved with a native map object. You override a method that returns a particular image for the currently visible tiles of the map, so that you don't have to have your whole map image in memory all the time. The default implementation on both platforms retrieves map images from somewhere online Markers are not 'in the message path' quite in the way you are suggesting - at the moment the touch / click is received by the native view, resulting in a callback that is handled in LCB, which posts an appropriate message back to the widget's script object (in this case 'markerClicked pTag' where pTag is the tag defined for that marker). ___ 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
Re: Map Widget Futures
Thanks for replying Ali I wasn't thinking of overlays, though that could be useful and would obviously be an early enhancment request. message path: Presumably "markers" are in the msg path… i.e. like buttons, and would respond to mouseup/down/touch. That would suffice for my V1 vision of use cases. Though I guess without overlays we are forced to abrupt changes on the screen if we want the map to be a portal to ther data…but… leave that for V2… Today's question is not about overlays… the question is: "What is the map object?" Where does it come from and can we supply some alt document… for example, if one had an artist create The WonderFul World of Ali, i.e. a fantasy map…in SynFig Studio… one could export to a vector format. How do we make this the map "object" Other more prosaic uses could be: complex diagrams that cover "hectares/square miles" of space… the map of Oxford University campus… Tolkein's Middle Earth etc. engineering diagram with various parts of some machine all laid out on one complex, very large "map" -- giant SVG's. giant in the sense of being created on a canvas in your illustration software set to 4 feet by 4 feet… which then can export to vector… scale up or down, but at that size one can work in areas with a lot of detail… and create a "Villiage of Hobbits" off in the corner… Here for example is a very simple test SVG export from a small inexpensive program that I like called "Diagrammix" http://dev.himalayanacademy.com/html/info/img/site-map.svg so what comprises the map "object" and what is the scope of its format, properties etc. Obviously the developer has to source the map object from somewhere, in some format. On 12/6/17, 2:03 PM, "use-livecode on behalf of Ali Lloyd via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: I'm not quite sure what you mean by 'a member of the msg path in "proper standing"' - the map widget just wraps a native view essentially. The map 'object' is only accessible through foreign handlers in LCB, but if it can be done natively then it can be done. In the first instance the widget will support annotations/markers and polylines, but won't support generic overlays. ___ 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
Re: Map Widget Futures
Ali Lloyd wrote: > ...make the map widget a lot more flexible on the > objective-c side... iOS-only? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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
Re: Map Widget Futures
I'm not quite sure what you mean by 'a member of the msg path in "proper standing"' - the map widget just wraps a native view essentially. The map 'object' is only accessible through foreign handlers in LCB, but if it can be done natively then it can be done. In the first instance the widget will support annotations/markers and polylines, but won't support generic overlays. Just thinking aloud for a second, one way we could potentially make that work, and make the map widget a lot more flexible on the objective-c side is to allow custom implementations of the map delegate in LCB. This would enable you to write the appropriate callbacks to do custom overlays. I can't think of a particularly nice way to support overlays as a basic property, but that might just be because I haven't thought about it enough. On Wed, Dec 6, 2017 at 3:07 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode@lists.runrev.com> wrote: > I'm not sure if the news from LiveCode Global is under any kind of NDA… > Since I have a business license, we could pose this directly to HQ, but > seems useful to share.. hope that is OK and I have this quesiton > > What is the binary format of the map "object" that the engine or map > widget can now pan and zoom? > > Put another way: could we create our own giant SVG maps, with tools, for > example like OmniGraffle or Diagrammix and then run these as "maps" inside > the new widget. Or is this tech somehow locked into conventional > geographical map formats of some kind? > > Of course we can build those and show them inside a browser widget, but > dealing with hotspots requires messing with JS and the chasm/issues between > the JS in the browser widget and the stack-LC engine message path is still > huge and problematic (discussed at length elsewhere) So if the new map > widget is a member of the msg path in "proper standing" that will be > excellent. > > BR > > > ___ > 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
Map Widget Futures
I'm not sure if the news from LiveCode Global is under any kind of NDA… Since I have a business license, we could pose this directly to HQ, but seems useful to share.. hope that is OK and I have this quesiton What is the binary format of the map "object" that the engine or map widget can now pan and zoom? Put another way: could we create our own giant SVG maps, with tools, for example like OmniGraffle or Diagrammix and then run these as "maps" inside the new widget. Or is this tech somehow locked into conventional geographical map formats of some kind? Of course we can build those and show them inside a browser widget, but dealing with hotspots requires messing with JS and the chasm/issues between the JS in the browser widget and the stack-LC engine message path is still huge and problematic (discussed at length elsewhere) So if the new map widget is a member of the msg path in "proper standing" that will be excellent. BR ___ 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
Re: Map Widget"
Devin: Looking at the dictionary, it only works on iOS. I need Mac and Windows platforms, and iOS is good, but limited. But, this external looks like it would do what I want, as it is described. It looks like it will take map data and make and image which I could then modify as I want. Alas, no dice on the desktop. A cross platform Map widget that does this would be pretty useful. Best, Bill P > On Apr 27, 2017, at 9:29 AM, Devin Asay via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Bill, > > Have you checked the mergMK extension referred to in the post? To my > knowledge the widget referred ton in the post has not yet been created. > > To take another tack—have you looked at the Google Static Map API? If you’re > comfortable using RESTful API’s in LiveCode you can get a pretty serviceable > map display in your stack. The API just returns image data, so it’s pretty > straightforward to display the map in an image object. > > https://developers.google.com/maps/documentation/static-maps/?csw=1 > > HTH > > Devin > > > On Apr 27, 2017, at 10:01 AM, William Prothero via use-livecode > <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: > > Folks: > On another aspect of this question, was a Map Widget, advertised on the site > I linked to below, ever created? > https://livecode.com/map-widget-coming-to-livecode/ > <https://livecode.com/map-widget-coming-to-livecode/> > Bill > > > William A. Prothero > http://earthlearningsolution.org/ > > > I found this link on the LC site. > https://livecode.com/map-widget-coming-to-livecode/ > <https://livecode.com/map-widget-coming-to-livecode/> > > Is there a map widget? Anybody working with google maps, not in a browser? If > so, could you point me to a URL for a starter > Bill > > > ___ > 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > ___ > 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
Re: Map Widget"
Thanks for the info, Jonathon. I’ll post what I find out. Best, Bill P > On Apr 27, 2017, at 9:54 AM, Jonathan Lynch via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Actually, I use tsnet for getting geocoding data from bing. Neither the put > URL command nor using a separate communication browser widget worked for that. > > Sent from my iPhone > >> On Apr 27, 2017, at 12:41 PM, jonathandly...@gmail.com wrote: >> >> No - I don't even use google. I use bing maps, bing geocoding, and >> webglearth for 3D. >> >> Google's TOS and reputation scares me. >> >> I just use the browser widget, no other plugin. >> >> Sent from my iPhone >> >>> On Apr 27, 2017, at 12:26 PM, William Prothero via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>> Jonathon: >>> It looks like a Google Earth plugin is needed for Augmented Earth. True? >>> Does that give you installation issues? Does the Map Widget behave well >>> with plugins? >>> Bill >>> >>>> On Apr 27, 2017, at 9:09 AM, Jonathan Lynch via use-livecode >>>> <use-livecode@lists.runrev.com> wrote: >>>> >>>> I use maps in the browser widget extensively for Augmented Earth. It works >>>> great. >>>> >>>> You could hypothetically export the image data from the HTML canvas >>>> object, export the lat/lng boundaries, and present all of that through a >>>> LiveCode image object. Be prepared to do a bit of math, but I think it >>>> would work. >>>> >>>> Many of the map apis allow you to put both markers and polygons on a map >>>> with JavaScript, which might give you better performance. >>>> >>>> Sent from my iPhone >>>> >>>>> On Apr 27, 2017, at 11:26 AM, William Prothero via use-livecode >>>>> <use-livecode@lists.runrev.com> wrote: >>>>> >>>>> What I'm thinking about is a map that I can control location and >>>>> magnification of a google map from livecode, do an image capture, and >>>>> draw symbols on that capture. I would need to be able to recover the >>>>> latitude and longitude of the displayed map boundaries. >>>>> >>>>> I remember some discussions about whether image capture works with >>>>> browser windows. >>>>> >>>>> If anybody has wisdom on whether this will work, before I spend a bunch >>>>> of time researching this, I'd be grateful. There is, I think, an API to >>>>> google Earth, which might be something to look into. >>>>> >>>>> Thanks, >>>>> Bill P >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>>> On Apr 27, 2017, at 8:04 AM, Bob Sneidar via use-livecode >>>>>> <use-livecode@lists.runrev.com> wrote: >>>>>> >>>>>> I do not believe you can have a google map not in a browser. That is to >>>>>> say, you cannot have a google INTERACTIVE map. You can certainly drop >>>>>> screenshots in as graphics. >>>>>> >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On Apr 26, 2017, at 19:31 , William Prothero via use-livecode >>>>>>> <use-livecode@lists.runrev.com> wrote: >>>>>>> >>>>>>> I found this link on the LC site. >>>>>>> https://livecode.com/map-widget-coming-to-livecode/ >>>>>>> <https://livecode.com/map-widget-coming-to-livecode/> >>>>>>> >>>>>>> Is there a map widget? Anybody working with google maps, not in a >>>>>>> browser? If so, could you point me to a URL for a starter >>>>>>> Bill >>>>>>> >>>>>>> William A. Prothero >>>>>>> http://earthlearningsolution.org/ >>>>>> >>>>>> >>>>>> ___ >>>>>> 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 >>
Re: Map Widget"
Actually, I use tsnet for getting geocoding data from bing. Neither the put URL command nor using a separate communication browser widget worked for that. Sent from my iPhone > On Apr 27, 2017, at 12:41 PM, jonathandly...@gmail.com wrote: > > No - I don't even use google. I use bing maps, bing geocoding, and webglearth > for 3D. > > Google's TOS and reputation scares me. > > I just use the browser widget, no other plugin. > > Sent from my iPhone > >> On Apr 27, 2017, at 12:26 PM, William Prothero via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Jonathon: >> It looks like a Google Earth plugin is needed for Augmented Earth. True? >> Does that give you installation issues? Does the Map Widget behave well with >> plugins? >> Bill >> >>> On Apr 27, 2017, at 9:09 AM, Jonathan Lynch via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>> I use maps in the browser widget extensively for Augmented Earth. It works >>> great. >>> >>> You could hypothetically export the image data from the HTML canvas object, >>> export the lat/lng boundaries, and present all of that through a LiveCode >>> image object. Be prepared to do a bit of math, but I think it would work. >>> >>> Many of the map apis allow you to put both markers and polygons on a map >>> with JavaScript, which might give you better performance. >>> >>> Sent from my iPhone >>> >>>> On Apr 27, 2017, at 11:26 AM, William Prothero via use-livecode >>>> <use-livecode@lists.runrev.com> wrote: >>>> >>>> What I'm thinking about is a map that I can control location and >>>> magnification of a google map from livecode, do an image capture, and draw >>>> symbols on that capture. I would need to be able to recover the latitude >>>> and longitude of the displayed map boundaries. >>>> >>>> I remember some discussions about whether image capture works with browser >>>> windows. >>>> >>>> If anybody has wisdom on whether this will work, before I spend a bunch of >>>> time researching this, I'd be grateful. There is, I think, an API to >>>> google Earth, which might be something to look into. >>>> >>>> Thanks, >>>> Bill P >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Apr 27, 2017, at 8:04 AM, Bob Sneidar via use-livecode >>>>> <use-livecode@lists.runrev.com> wrote: >>>>> >>>>> I do not believe you can have a google map not in a browser. That is to >>>>> say, you cannot have a google INTERACTIVE map. You can certainly drop >>>>> screenshots in as graphics. >>>>> >>>>> Bob S >>>>> >>>>> >>>>>> On Apr 26, 2017, at 19:31 , William Prothero via use-livecode >>>>>> <use-livecode@lists.runrev.com> wrote: >>>>>> >>>>>> I found this link on the LC site. >>>>>> https://livecode.com/map-widget-coming-to-livecode/ >>>>>> <https://livecode.com/map-widget-coming-to-livecode/> >>>>>> >>>>>> Is there a map widget? Anybody working with google maps, not in a >>>>>> browser? If so, could you point me to a URL for a starter >>>>>> Bill >>>>>> >>>>>> William A. Prothero >>>>>> http://earthlearningsolution.org/ >>>>> >>>>> >>>>> ___ >>>>> 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
Re: Map Widget"
No - I don't even use google. I use bing maps, bing geocoding, and webglearth for 3D. Google's TOS and reputation scares me. I just use the browser widget, no other plugin. Sent from my iPhone > On Apr 27, 2017, at 12:26 PM, William Prothero via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Jonathon: > It looks like a Google Earth plugin is needed for Augmented Earth. True? Does > that give you installation issues? Does the Map Widget behave well with > plugins? > Bill > >> On Apr 27, 2017, at 9:09 AM, Jonathan Lynch via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I use maps in the browser widget extensively for Augmented Earth. It works >> great. >> >> You could hypothetically export the image data from the HTML canvas object, >> export the lat/lng boundaries, and present all of that through a LiveCode >> image object. Be prepared to do a bit of math, but I think it would work. >> >> Many of the map apis allow you to put both markers and polygons on a map >> with JavaScript, which might give you better performance. >> >> Sent from my iPhone >> >>> On Apr 27, 2017, at 11:26 AM, William Prothero via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>> What I'm thinking about is a map that I can control location and >>> magnification of a google map from livecode, do an image capture, and draw >>> symbols on that capture. I would need to be able to recover the latitude >>> and longitude of the displayed map boundaries. >>> >>> I remember some discussions about whether image capture works with browser >>> windows. >>> >>> If anybody has wisdom on whether this will work, before I spend a bunch of >>> time researching this, I'd be grateful. There is, I think, an API to google >>> Earth, which might be something to look into. >>> >>> Thanks, >>> Bill P >>> >>> William Prothero >>> http://es.earthednet.org >>> >>>> On Apr 27, 2017, at 8:04 AM, Bob Sneidar via use-livecode >>>> <use-livecode@lists.runrev.com> wrote: >>>> >>>> I do not believe you can have a google map not in a browser. That is to >>>> say, you cannot have a google INTERACTIVE map. You can certainly drop >>>> screenshots in as graphics. >>>> >>>> Bob S >>>> >>>> >>>>> On Apr 26, 2017, at 19:31 , William Prothero via use-livecode >>>>> <use-livecode@lists.runrev.com> wrote: >>>>> >>>>> I found this link on the LC site. >>>>> https://livecode.com/map-widget-coming-to-livecode/ >>>>> <https://livecode.com/map-widget-coming-to-livecode/> >>>>> >>>>> Is there a map widget? Anybody working with google maps, not in a >>>>> browser? If so, could you point me to a URL for a starter >>>>> Bill >>>>> >>>>> William A. Prothero >>>>> http://earthlearningsolution.org/ >>>> >>>> >>>> ___ >>>> 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
Re: Map Widget"
Bill, Have you checked the mergMK extension referred to in the post? To my knowledge the widget referred ton in the post has not yet been created. To take another tack—have you looked at the Google Static Map API? If you’re comfortable using RESTful API’s in LiveCode you can get a pretty serviceable map display in your stack. The API just returns image data, so it’s pretty straightforward to display the map in an image object. https://developers.google.com/maps/documentation/static-maps/?csw=1 HTH Devin On Apr 27, 2017, at 10:01 AM, William Prothero via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Folks: On another aspect of this question, was a Map Widget, advertised on the site I linked to below, ever created? https://livecode.com/map-widget-coming-to-livecode/ <https://livecode.com/map-widget-coming-to-livecode/> Bill William A. Prothero http://earthlearningsolution.org/ I found this link on the LC site. https://livecode.com/map-widget-coming-to-livecode/ <https://livecode.com/map-widget-coming-to-livecode/> Is there a map widget? Anybody working with google maps, not in a browser? If so, could you point me to a URL for a starter Bill ___ 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 Devin Asay Director Office of Digital Humanities Brigham Young University ___ 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
Re: Map Widget"
Jonathon: It looks like a Google Earth plugin is needed for Augmented Earth. True? Does that give you installation issues? Does the Map Widget behave well with plugins? Bill > On Apr 27, 2017, at 9:09 AM, Jonathan Lynch via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I use maps in the browser widget extensively for Augmented Earth. It works > great. > > You could hypothetically export the image data from the HTML canvas object, > export the lat/lng boundaries, and present all of that through a LiveCode > image object. Be prepared to do a bit of math, but I think it would work. > > Many of the map apis allow you to put both markers and polygons on a map with > JavaScript, which might give you better performance. > > Sent from my iPhone > >> On Apr 27, 2017, at 11:26 AM, William Prothero via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> What I'm thinking about is a map that I can control location and >> magnification of a google map from livecode, do an image capture, and draw >> symbols on that capture. I would need to be able to recover the latitude and >> longitude of the displayed map boundaries. >> >> I remember some discussions about whether image capture works with browser >> windows. >> >> If anybody has wisdom on whether this will work, before I spend a bunch of >> time researching this, I'd be grateful. There is, I think, an API to google >> Earth, which might be something to look into. >> >> Thanks, >> Bill P >> >> William Prothero >> http://es.earthednet.org >> >>> On Apr 27, 2017, at 8:04 AM, Bob Sneidar via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>> I do not believe you can have a google map not in a browser. That is to >>> say, you cannot have a google INTERACTIVE map. You can certainly drop >>> screenshots in as graphics. >>> >>> Bob S >>> >>> >>>> On Apr 26, 2017, at 19:31 , William Prothero via use-livecode >>>> <use-livecode@lists.runrev.com> wrote: >>>> >>>> I found this link on the LC site. >>>> https://livecode.com/map-widget-coming-to-livecode/ >>>> <https://livecode.com/map-widget-coming-to-livecode/> >>>> >>>> Is there a map widget? Anybody working with google maps, not in a browser? >>>> If so, could you point me to a URL for a starter >>>> Bill >>>> >>>> William A. Prothero >>>> http://earthlearningsolution.org/ >>> >>> >>> ___ >>> 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
Re: Map Widget"
I use maps in the browser widget extensively for Augmented Earth. It works great. You could hypothetically export the image data from the HTML canvas object, export the lat/lng boundaries, and present all of that through a LiveCode image object. Be prepared to do a bit of math, but I think it would work. Many of the map apis allow you to put both markers and polygons on a map with JavaScript, which might give you better performance. Sent from my iPhone > On Apr 27, 2017, at 11:26 AM, William Prothero via use-livecode > <use-livecode@lists.runrev.com> wrote: > > What I'm thinking about is a map that I can control location and > magnification of a google map from livecode, do an image capture, and draw > symbols on that capture. I would need to be able to recover the latitude and > longitude of the displayed map boundaries. > > I remember some discussions about whether image capture works with browser > windows. > > If anybody has wisdom on whether this will work, before I spend a bunch of > time researching this, I'd be grateful. There is, I think, an API to google > Earth, which might be something to look into. > > Thanks, > Bill P > > William Prothero > http://es.earthednet.org > >> On Apr 27, 2017, at 8:04 AM, Bob Sneidar via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I do not believe you can have a google map not in a browser. That is to say, >> you cannot have a google INTERACTIVE map. You can certainly drop screenshots >> in as graphics. >> >> Bob S >> >> >>> On Apr 26, 2017, at 19:31 , William Prothero via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>> I found this link on the LC site. >>> https://livecode.com/map-widget-coming-to-livecode/ >>> <https://livecode.com/map-widget-coming-to-livecode/> >>> >>> Is there a map widget? Anybody working with google maps, not in a browser? >>> If so, could you point me to a URL for a starter >>> Bill >>> >>> William A. Prothero >>> http://earthlearningsolution.org/ >> >> >> ___ >> 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
Re: Map Widget"
Folks: On another aspect of this question, was a Map Widget, advertised on the site I linked to below, ever created? https://livecode.com/map-widget-coming-to-livecode/ <https://livecode.com/map-widget-coming-to-livecode/> Bill William A. Prothero http://earthlearningsolution.org/ > >>> I found this link on the LC site. >>> https://livecode.com/map-widget-coming-to-livecode/ >>> <https://livecode.com/map-widget-coming-to-livecode/> >>> >>> Is there a map widget? Anybody working with google maps, not in a browser? >>> If so, could you point me to a URL for a starter >>> Bill >>> ___ 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
Re: Map Widget"
What I'm thinking about is a map that I can control location and magnification of a google map from livecode, do an image capture, and draw symbols on that capture. I would need to be able to recover the latitude and longitude of the displayed map boundaries. I remember some discussions about whether image capture works with browser windows. If anybody has wisdom on whether this will work, before I spend a bunch of time researching this, I'd be grateful. There is, I think, an API to google Earth, which might be something to look into. Thanks, Bill P William Prothero http://es.earthednet.org > On Apr 27, 2017, at 8:04 AM, Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I do not believe you can have a google map not in a browser. That is to say, > you cannot have a google INTERACTIVE map. You can certainly drop screenshots > in as graphics. > > Bob S > > >> On Apr 26, 2017, at 19:31 , William Prothero via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I found this link on the LC site. >> https://livecode.com/map-widget-coming-to-livecode/ >> <https://livecode.com/map-widget-coming-to-livecode/> >> >> Is there a map widget? Anybody working with google maps, not in a browser? >> If so, could you point me to a URL for a starter >> Bill >> >> William A. Prothero >> http://earthlearningsolution.org/ > > > ___ > 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
Re: Map Widget"
I do not believe you can have a google map not in a browser. That is to say, you cannot have a google INTERACTIVE map. You can certainly drop screenshots in as graphics. Bob S > On Apr 26, 2017, at 19:31 , William Prothero via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I found this link on the LC site. > https://livecode.com/map-widget-coming-to-livecode/ > <https://livecode.com/map-widget-coming-to-livecode/> > > Is there a map widget? Anybody working with google maps, not in a browser? If > so, could you point me to a URL for a starter > Bill > > William A. Prothero > http://earthlearningsolution.org/ ___ 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
Map Widget"
I found this link on the LC site. https://livecode.com/map-widget-coming-to-livecode/ <https://livecode.com/map-widget-coming-to-livecode/> Is there a map widget? Anybody working with google maps, not in a browser? If so, could you point me to a URL for a starter Bill William A. Prothero http://earthlearningsolution.org/ ___ 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