[OpenLayers-Users] Change mouse pointer for Zoombox control

Subha Ramakrishnan subha at gslab.com
Fri Dec 5 02:19:59 EST 2008


Hi ,
I did try out the changes made in the patch.
Now, when i select the zoombox control, the mouse pointer changes to a 
zoombox cursor. But i am still facing the same problem.Once, i zoom in 
to an area using the control, the mouse pointer reverts back to the 
default pointer.

Should i explicitly handle that event and set the mouse pointer ?

Thanks for the help.

Regards,
Subha
bartvde at osgis.nl wrote:
> Hi,
>
> see the patch at:
>
> http://trac.openlayers.org/ticket/1484
>
> Best regards,
> Bart
>
>   
>> Hi,
>>
>> I have a question regarding mouse pointer for a zoom box control.
>> Is it possible for me to change the mouse pointer to indicate that zoom
>> box control is currently active.
>> I did try setting the cursor using "map.style.cursor" and it does change
>> when the zoom box control is selected, but when i zoom in to an area,
>> the cursor goes back to the default mouse pointer.
>>
>> Does anyone know how to do is? Or is it available in Openlayers and i am
>> missing it?
>>
>> Thanks for the help.
>>
>> Regards,
>> Subha
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>     
>
>
>
>   




More information about the Users mailing list