[Mapbender-commits] r3959 - branches/2.6/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon May 25 16:38:51 EDT 2009
Author: marc
Date: 2009-05-25 16:38:50 -0400 (Mon, 25 May 2009)
New Revision: 3959
Modified:
branches/2.6/http/javascripts/mod_zoomCoords.php
Log:
rename highligt functions http://trac.osgeo.org/mapbender/ticket/466
Modified: branches/2.6/http/javascripts/mod_zoomCoords.php
===================================================================
--- branches/2.6/http/javascripts/mod_zoomCoords.php 2009-05-24 10:04:02 UTC (rev 3958)
+++ branches/2.6/http/javascripts/mod_zoomCoords.php 2009-05-25 20:38:50 UTC (rev 3959)
@@ -44,12 +44,12 @@
if(zoomCoords_permanentHighlight =='true'){
setPermanentMarker(x,y);
}
- hideHighlight()
+ hideHighlightZoomcoords()
zoom(mod_zoomCoords_target[0],true, 1.0,x,y);
}
}
-function highlight(x, y){
+function highlightZoomcoords(x, y){
if(x!='' && y!=''){
x=x.replace(",",".");
y=y.replace(",",".");
@@ -70,7 +70,7 @@
}
-function hideHighlight(){
+function hideHighlightZoomcoords(){
for(var i=0;i<mod_zoomCoords_target.length;i++){
mb_hideHighlight(mod_zoomCoords_target[i]);
}
@@ -98,7 +98,7 @@
echo "<span style='position: absolute;left: 80px;top:5px;color: Gray;'>"._mb("Latitude").":</span>";
echo "<input style='position: absolute;left:5px;top:20px;color: Gray;width:65px;border: solid thin;height:20px;' type='text' name='X'>";
echo "<input style='position: absolute;left:80px;top:20px;color: Gray;width:65px;border: solid thin;height:20px;'class='texty' type='text' name='Y'>";
- echo "<input style='position: absolute;left:150px;top:20px;color: Gray;border: solid thin;height:20px;' type='button' value='"._mb("ok")."' onclick='zoomCoordinate(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value); highlight(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value)' onmouseover='highlight(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value)' onmouseout='hideHighlight(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value)' >";
+ echo "<input style='position: absolute;left:150px;top:20px;color: Gray;border: solid thin;height:20px;' type='button' value='"._mb("ok")."' onclick='zoomCoordinate(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value); highlightZoomcoords(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value)' onmouseover='highlightZoomcoords(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value)' onmouseout='hideHighlightZoomcoords(document.zoomCoordsForm.X.value, document.zoomCoordsForm.Y.value)' >";
echo "</form>";
?>";
More information about the Mapbender_commits
mailing list