[Mapbender-commits] r4770 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Oct 4 07:52:11 EDT 2009
Author: marc
Date: 2009-10-04 07:52:10 -0400 (Sun, 04 Oct 2009)
New Revision: 4770
Modified:
trunk/mapbender/http/javascripts/mod_featureInfo.php
trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php
trunk/mapbender/http/javascripts/mod_pan.js
Log:
cursor styles
Modified: trunk/mapbender/http/javascripts/mod_featureInfo.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_featureInfo.php 2009-10-02 21:47:45 UTC (rev 4769)
+++ trunk/mapbender/http/javascripts/mod_featureInfo.php 2009-10-04 11:52:10 UTC (rev 4770)
@@ -67,10 +67,10 @@
function mod_featureInfo_click(){
mod_featureInfo_mapObj.getDomElement().onclick = mod_featureInfo_event;
mod_featureInfo_mapObj.getDomElement().style.cursor = "help";
-
}
function mod_featureInfo_disable(){
mod_featureInfo_mapObj.getDomElement().onclick = null;
+ mod_featureInfo_mapObj.getDomElement().style.cursor = "default";
}
function mod_featureInfo_event(e){
var point = mod_featureInfo_mapObj.getMousePos(e);
Modified: trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php 2009-10-02 21:47:45 UTC (rev 4769)
+++ trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php 2009-10-04 11:52:10 UTC (rev 4770)
@@ -57,6 +57,7 @@
}
function mod_featureInfoTunnel_disable(){
mod_featureInfoTunnel_map.getDomElement().onclick = null;
+ mod_featureInfoTunnel_map.getDomElement().style.cursor = "default";
}
function mod_featureInfoTunnel_event(e){
eventBeforeFeatureInfo.trigger({"fName":mod_featureInfoTunnel_target});
Modified: trunk/mapbender/http/javascripts/mod_pan.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_pan.js 2009-10-02 21:47:45 UTC (rev 4769)
+++ trunk/mapbender/http/javascripts/mod_pan.js 2009-10-04 11:52:10 UTC (rev 4770)
@@ -45,7 +45,8 @@
options.target + " is not a map!");
return;
}
- $(map.getDomElement()).css("cursor", "move")
+ $(map.getDomElement())
+ .css("cursor", "move")
.mousedown(function (e) {
mb_panActive = true;
startPos = map.getMousePosition(e);
@@ -96,7 +97,7 @@
return false;
}
$(map.getDomElement())
- .css("cursor", "pointer")
+ .css("cursor", "default")
.unbind("mousedown")
.unbind("mouseup")
.unbind("mousemove");
More information about the Mapbender_commits
mailing list