[OpenLayers-Users] How to make a drag and drop for markers?

Alexandre Dube adube at mapgears.com
Fri Aug 21 10:49:51 EDT 2009


Hi,

  One way to accomplish this is to use a Vector layer instead of a 
Marker layer and use a ModifyFeature control do move your points 
(markers) around.

  See an example (1).  Draw a point, then using the "modify feature" 
control, drag and drop your point where you want.

Best of luck,

Alexandre

(1) http://openlayers.org/dev/examples/modify-feature.html

Jimmy Aumard wrote:
> Hi list,
>
> I want to know how it's possible to make drag and drop who work for a 
> marker.
>
> Thanks
>
> Jim
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list