Topic: GOOGLE MAP MARKER DRAGGABLE

HELLO MVD!

It is possible to drag the marker to any location and change the icon marker?

thank You!

Re: GOOGLE MAP MARKER DRAGGABLE

Hello.


In the current version you can do it only by script.

// for first marker
Form1.Map.Markers[0].Draggable := True; 
Form1.Markers[0].Icon := 'http://site.com/icon.png'; // Allows the use of an image as a marker. A local path to an image file or an url to a remote image file are both allowed.

more info in the documenation
http://myvisualdatabase.com/help_en/script/map.html  (see section Markers)

Dmitry.

Re: GOOGLE MAP MARKER DRAGGABLE

Thanks MVD!

Theirs an error. " Undeclaired identifier:"  then, in what event the script this should be put?

Re: GOOGLE MAP MARKER DRAGGABLE

We have a licensed MVD version 3.6. Do I need to buy the 4.0 version to run without bugs the new components of MVD version 4.0 specially the google map?

Pls Reply!

manixs

Re: GOOGLE MAP MARKER DRAGGABLE

Unfortunately you can't update for free to version 4.0

Dmitry.

6 (edited by manixs2013 2017-12-07 06:06:09)

Re: GOOGLE MAP MARKER DRAGGABLE

Hello MVD!

I have a sample here that i followed your instruction on the draggble marker.  My problem is on how to update the new position of the marker.

I need a help about this matter.

Thank you

Post's attachments

Attachment icon Google maps one marker.zip 337.66 kb, 314 downloads since 2017-12-07 

Re: GOOGLE MAP MARKER DRAGGABLE

It's will be works in the next version.

Dmitry.