Carlos Pinto
Posts: 0
Joined: Mon Oct 14, 2013 11:09 am

Is it possible to make map markers dragable?

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Is it possible to make map markers dragable?

Hi Carlos,

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

Carlos Pinto
Posts: 0
Joined: Mon Oct 14, 2013 11:09 am

Is it possible to make map markers dragable?

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Is it possible to make map markers dragable?

Carlos,

Yes. This will work.

Return to “Issues”