Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.