[OpenLayers-Users] DragFeature & Label
Arnd Wippermann
arnd.wippermann at web.de
Mon Aug 2 09:14:40 EDT 2010
Add labelSelect:true to your text symbolizer.
Arnd
_____
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Thomas PAPIN
Gesendet: Montag, 2. August 2010 14:26
An: users at openlayers.org
Betreff: [OpenLayers-Users] DragFeature & Label
Hi all,
I would like to be able to drag & drop a text on openlayers.
To do that, I have point with label (using KML/placemark)
The point is hidden (using StyleMap; Opacity : 0) So the user can just see
the Label.
Now if I activate the DragFeature, the user must put the cursor on the
hidden point.
I would like him to be able to move the point (and the label) when the
cursor is over the Label.
Is it possible ?
Note: labelAlign is left or right, cannot be center
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100802/5e39030c/attachment.html
More information about the Users
mailing list