Hi Reinout
Draggable markers does not seem to be a 2 minute change.. From what I
found it's this that has to be done:
...
Basically, there are 2 fundamental 'classes':
OpenLayers.Control.DragMarker
OpenLayers.Handler.Marker
This is how we add drag control to the markers.::::
map = new OpenLayers.Map('map');
markermanager = new OpenLayers.Layer.Markers(" marker layer ");
var DragControl=new OpenLayers.Control.DragMarker(markermanager);
map.addControl(DragControl);
DragControl.activate();
---
But it should "just" be to add a new control (doing above code).. SO
it's not for specific markers but for all markers.
Do you just want your markers to be draggable or do you also want to
capture drag events?
2009/8/11 Reinout van Schouwen <[email protected]>:
> Hi Nino,
>
> Op maandag 10-08-2009 om 18:06 uur [tijdzone +0200], schreef nino
> martinez wael:
>
>> > 3) How is the class org.wicketstuff.openlayers.api.MarkerOptions
>> > supposed to be used? I can't find a reference to it anywhere.
>> I think it might be legacy from when I did the initial framework, I
>> could'nt find any use for it.. What are you wanting to do?
>
> I'd like my markers to be draggable.
>
> Thanks,
>
> --
> Reinout van Schouwen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]