[OpenLayers-Users] Increase hover delay of SelectFeature control?

Andrew Stewart Andrew.Stewart at reddeer.ca
Mon Mar 7 12:42:24 EST 2011


 
Had the wrong code -

info_attraction_tooltip = new OpenLayers.Control.SelectFeature(layer_Attraction, { 
           hover: true, highlightOnly: true, renderIntent: "temporary",
           eventListeners: { featurehighlighted: showAttractionTooltip} 
           });
                
        function showAttractionTooltip(event){
        var feature = event.feature;
        
        //Display Tooltip
        tooltip.destroy();
	    tooltip = new Ext.ToolTip({
        html: 'Attraction',
        dismissDelay: 3000
        });
        tooltip.targetXY = [(x_pos + -80),(y_pos - 60)];
        tooltip.show(); 
        }

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Increase-hover-delay-of-SelectFeature-control-tp6098194p6098194.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


[This message has been scanned for security content threats and viruses.]

[The City of Red Deer I.T. Services asks that you please consider the environment before printing this e-mail.]






More information about the Users mailing list