[OpenLayers-Users] DragFeature & Label
christopher.schmidt at nokia.com
christopher.schmidt at nokia.com
Mon Aug 2 09:30:50 EDT 2010
On Aug 2, 2010, at 9:24 AM, ext Thomas PAPIN wrote:
> Thanks ! It's work.
>
> No prevent question like this in the future :)
> is there another documentation that the class document to help me ?
http://dev.openlayers.org/releases/OpenLayers-2.9/doc/apidocs/files/OpenLayers/Feature/Vector-js.html#OpenLayers.Feature.Vector.OpenLayers.Feature.Vector.style
-- Chris
> Because lot of information is missing there.
> For exemple for
> http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/StyleMap-js.html
>
> There is no information at all regarding the list of options like labelSelect,labelOffset,etc..
>
> Where can I found this kind of information ?
>
> 2010/8/2 Arnd Wippermann <arnd.wippermann at web.de>
> 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
>
> <ATT00001..txt>
More information about the Users
mailing list