[OpenLayers-Users] How to change the style of the "cursor" when dragging/resizing/reshaping/rotating?

Eric Lemoine eric.lemoine at camptocamp.com
Mon Sep 14 02:48:49 EDT 2009


On Thursday, September 10, 2009, cgp <carina_palanca at forcorp.com> wrote:
>
> I don't know what it's called, but you know when you click on a polygon (for
> example) there is a point that appears in the middle of it for you to click
> and drag? And then for resize/rotate, there is that same point that appears
> on the polygon's bottom-right corner that you can use to drag around so you
> can rotate or resize the polygon? How do you change that point's style so
> that it's "standardized" for modifyFeature and easily distinguishable from
> other points on the map? Perhaps, change it to a cross or 'x' style so that
> we know that those are the points to be dragged instead of other markers on
> the map?

i'm afraid this isn't supported by OpenLayers at this time. Though you
may be able to achieve what you want by defining a stylemap (and a
context) in your application.



>
> Thanks for your help.
> --
> View this message in context: http://n2.nabble.com/How-to-change-the-style-of-the-cursor-when-dragging-resizing-reshaping-rotating-tp3618337p3618337.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list