Hi,

I`m trying to assign a custom mouse cursor to a styleMap.

this is how im trying to do it

var highlighted = new OpenLayers.Style({
                                                                                
                                                                  
'strokeWidth': 1,
                                                                                
                                                                'strokeColor': 
'#ff0000',
                                                                                
                                                                'fillColor': 
'#ff0000',
                                                                                
                                                                
'fillOpacity':0.4,
                                                                                
                                                                'cursor': 
'url('openlayers/theme/default/img/pan.gif')'
                                                                                
                                                                
                                                                                
                                                                }); // style 
for vector layer to be highlighted


but the cursor wont change, although it works for default built in cursors ,

regards,
Imran--
I.R
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to