[Mapbender-commits] r4721 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Sep 26 11:32:40 EDT 2009
Author: marc
Date: 2009-09-26 11:32:40 -0400 (Sat, 26 Sep 2009)
New Revision: 4721
Modified:
trunk/mapbender/http/javascripts/mod_selArea.js
Log:
change cursor style on mapframe1
Modified: trunk/mapbender/http/javascripts/mod_selArea.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_selArea.js 2009-09-26 15:18:16 UTC (rev 4720)
+++ trunk/mapbender/http/javascripts/mod_selArea.js 2009-09-26 15:32:40 UTC (rev 4721)
@@ -44,10 +44,12 @@
options.target + " is not a map!");
return;
}
+
box = new Mapbender.Box({
target: options.target
});
- $(map.getDomElement()).mousedown(function (e) {
+ $(map.getDomElement()).css("cursor", "crosshair")
+ .mousedown(function (e) {
box.start(e);
return false;
}).mouseup(function (e) {
More information about the Mapbender_commits
mailing list