[OpenLayers-Users] Change mouse pointer for Zoombox control

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Dec 5 04:23:02 EST 2008


This should happen automatically.
Which OpenLayers version are you using?
Which browser?

Does it happen as well in the cursor example at:
http://dev.openlayers.org/sandbox/bartvde/cursor/openlayers/examples/cursor.html

Best regards,
Bart

Subha Ramakrishnan wrote:
> 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
>>>
>>>     
>>
>>
>>
>>   
>
>
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl




More information about the Users mailing list