Map Widget - how does it actually work?
alex at tweedly.net
Mon May 25 20:39:15 EDT 2020
Well, the big advantage of widgets is that you can look at the source
code. As it says in the Livecode Lesson (
> 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
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)
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.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode