Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

my unfinish app is:

"http://190.5.81.197/MAPA_OL/mapa/matricula.html#"

i just want to know how cant I change mouse icon when the mouse is over a marker on a wms layer i am using goserver to create the wms layer.

share|improve this question

1 Answer 1

if you have extjs, you can do it with this way:

        info = new OpenLayers.Control.WMSGetFeatureInfo({
            url: 'http://demo.opengeo.org/geoserver/wms', 
            title: 'Identify features by hover',
            layers: [layer],
            hover: true,              
            formatOptions: {
                typeName: 'layer', 
                featureNS: 'http://www.openplans.org/topp'
            },
            queryVisible: true
        });

        map.addControl(info);
        info.activate();


        info.events.register("getfeatureinfo", this, showWaitCursor);

        function showWaitCursor(){
            Ext.util.CSS.updateRule('div.olMap', 'cursor', 'wait')
        };

i hope it helps you....

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.