Page 1 of 1

Is it possible to make map markers dragable?

Posted: Wed Oct 23, 2013 6:00 pm
by Carlos Pinto

Excuse me if this is a silly question but i am still new to appery.io
By what i understood, i can drag a map and change it properties.
I did that and have a map with a marker on it.

Here in the forums i saw that if i add the marker "manually" i can give it a
variable and this way make it do whatever.

My question now is: how can i make that marker dragable?
I have been playing around with the google maps API and now how to
set several options (like turning panels, zoom on off etc) but how do i
add that code to appery.io ?

thanks in advance.


Is it possible to make map markers dragable?

Posted: Wed Oct 23, 2013 6:14 pm
by Kateryna Grynko

Hi Carlos,

Yes. You would need to specify a flag:predraggable: true/pre
Find an example here: https://code.google.com/p/gmaps-sampl...


Is it possible to make map markers dragable?

Posted: Wed Oct 23, 2013 8:53 pm
by Carlos Pinto

Thanks Katya,
i am just wondering where i put that code in?
At a page load?
Thanks in advance,
Carlos


Is it possible to make map markers dragable?

Posted: Wed Oct 23, 2013 8:59 pm
by Kateryna Grynko

Carlos,

Yes. This will work.