[OpenLayers-Users] Dragable markers

Admin TrouveTonGull.info contact at trouvetongull.info
Mon Jul 6 06:15:45 EDT 2009


Andreas Hocevar a écrit :
>
> Hard to tell without seeing your code. 
oups sorry, my map: http://www.trouvetongull.info/carte/

> But I would gess you are using
> an OpenLayers.Layer.Markers or OpenLayers.Layer.GeoRSS. The
> DragFeature control only works with vector layers (Layer.Vector,
> Layer.GML, Layer.WFS). To see how to set this up, have a look at the
> http://www.openlayers.org/dev/examples/behavior-fixed-http-gml.html
> example. If you use GeoRSS and not GML, you will want to replace the
> format (new OpenLayers.Format.GML()) with a GeoRSS format (new
> OpenLayers.Format.GeoRSS).
>   

I use Georss markers on GML layers.

> Regards,
> Andreas.
>
>
>   




More information about the Users mailing list