Re: map widget offline

2022-10-05 Thread Mark Wieder via use-livecode

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


Re: Map Widget - how does it actually work?

2020-05-30 Thread Prothero-ELS via use-livecode
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/ 
>> 
>> 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 
>>> 
>>> 
>>> 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?

2020-05-30 Thread Graham Samuel via use-livecode
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/ 
> 
> 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 
>> 
>> 
>> 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?

2020-05-29 Thread prothero--- via use-livecode
Graham:
If that doesn’t have everything, I have a zip file at:
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 
> 
> 
> 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?

2020-05-29 Thread William Prothero via use-livecode
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 


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?

2020-05-26 Thread Graham Samuel via use-livecode
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?

2020-05-26 Thread Niggemann, Bernd via use-livecode
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?

2020-05-26 Thread Graham Samuel via use-livecode
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?

2020-05-25 Thread Mark Wieder via use-livecode

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?

2020-05-25 Thread Alex Tweedly via use-livecode
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


Re: Map Widget with Custom Marker

2018-12-18 Thread hh via use-livecode
> 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

2018-12-18 Thread Brian Milby via use-livecode
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

2018-12-18 Thread Scott Rossi via use-livecode
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

2018-12-18 Thread Brian Milby via use-livecode
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

Re: map widget

2018-11-14 Thread hh via use-livecode
[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


Re: Map Widget Futures

2017-12-07 Thread Sannyasin Brahmanathaswami via use-livecode
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

2017-12-07 Thread Ali Lloyd via use-livecode
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

2017-12-06 Thread Sannyasin Brahmanathaswami via use-livecode
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" 
 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

2017-12-06 Thread Richard Gaskin via use-livecode

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

2017-12-06 Thread Ali Lloyd via use-livecode
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

Re: Map Widget"

2017-04-27 Thread William Prothero via use-livecode
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 
>  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 
> > 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/ 
> 
> Bill
> 
> 
> William A. Prothero
> http://earthlearningsolution.org/
> 
> 
> I found this link on the LC site.
> 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"

2017-04-27 Thread William Prothero via use-livecode
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 
>  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 
>>>  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 
  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 
>  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 
>>  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 
>>>  wrote:
>>> 
>>> I found this link on the LC site. 
>>> 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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:

Re: Map Widget"

2017-04-27 Thread Jonathan Lynch via use-livecode
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 
>>  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 
>>>  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 
  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 
>  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 
>>  wrote:
>> 
>> I found this link on the LC site. 
>> 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"

2017-04-27 Thread Jonathan Lynch via use-livecode
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 
>  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 
>>  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 
>>>  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 
  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 
>  wrote:
> 
> I found this link on the LC site. 
> 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"

2017-04-27 Thread Devin Asay via use-livecode
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 
> 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/ 

Bill


William A. Prothero
http://earthlearningsolution.org/


I found this link on the LC site.
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"

2017-04-27 Thread William Prothero via use-livecode
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 
>  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 
>>  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 
>>>  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 
  wrote:
 
 I found this link on the LC site. 
 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"

2017-04-27 Thread Jonathan Lynch via use-livecode
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 
>  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 
>>  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 
>>>  wrote:
>>> 
>>> I found this link on the LC site. 
>>> 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"

2017-04-27 Thread William Prothero via use-livecode
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/ 

Bill


William A. Prothero
http://earthlearningsolution.org/

> 
>>> I found this link on the LC site. 
>>> 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"

2017-04-27 Thread William Prothero via use-livecode
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 
>  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 
>>  wrote:
>> 
>> I found this link on the LC site. 
>> 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"

2017-04-27 Thread Bob Sneidar via use-livecode
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 
>  wrote:
> 
> I found this link on the LC site. 
> 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