[Mapbender-commits] r1675 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 24 03:38:39 EDT 2007
Author: nimix
Date: 2007-09-24 03:38:39 -0400 (Mon, 24 Sep 2007)
New Revision: 1675
Modified:
trunk/mapbender/http/javascripts/mod_measure.php
Log:
change epsg should not always enable measuring
Modified: trunk/mapbender/http/javascripts/mod_measure.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_measure.php 2007-09-21 10:07:42 UTC (rev 1674)
+++ trunk/mapbender/http/javascripts/mod_measure.php 2007-09-24 07:38:39 UTC (rev 1675)
@@ -153,11 +153,9 @@
var ind = getMapObjIndexByName(mod_measure_target);
if(mod_measure_epsg != mb_mapObj[ind].epsg){
mod_measure_delete();
- mod_measure_disable();
mod_measure_width = mb_mapObj[ind].width;
mod_measure_height = mb_mapObj[ind].height;
mod_measure_epsg = mb_mapObj[ind].epsg;
- mod_measure_go();
}
var str_mPoints = "<div style='position:absolute;left:0px;top:0px' ><img src='"+mb_trans.src+"' width='"+mod_measure_width+"' height='0'></div>";
str_mPoints += "<div style='position:absolute;left:0px;top:0px' ><img src='"+mb_trans.src+"' width='0' height='"+mod_measure_height+"'></div>";
More information about the Mapbender_commits
mailing list