Map Widget Futures

Ali Lloyd ali.lloyd at livecode.com
Thu Dec 7 04:23:25 EST 2017


On Thu, Dec 7, 2017 at 12:56 AM Richard Gaskin via use-livecode <
use-livecode at 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
>   ____________________________________________________________________
>   Ambassador at FourthWorld.com                http://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).



More information about the Use-livecode mailing list