Map with Custom Marker

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
netdzynr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Sat Apr 08, 2006 6:04 am
Contact:

Map with Custom Marker

Post by netdzynr » Mon Dec 17, 2018 11:40 pm

I need to show current position on the map widget using a custom marker -- I want to continuously track the location of a user that is moving, like the arrow displayed when riding in a car. The map widget appears to display in a web view or similar control that prevents overlying an image. How can I accomplish this?

Thanks in advance.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Map with Custom Marker

Post by [-hh] » Tue Dec 18, 2018 11:03 pm

Hi.

[ Here is a marker solution for the browser widget
http://lists.runrev.com/pipermail/use-l ... 51886.html ]

AFAIK the map widget uses a native layer.
The only way I can see based on my sparse experiences with the map widget is the following.
You could try to use another native layer, a browser widget, with your custom control, like here:
viewtopic.php?p=172789#p172789
And then don't move the marker/browser widget, but center the map "under" the custom marker.
shiftLock happens

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”