svn commit: r950 - trunk/mapbender/http/javascripts/mod_digitize_tab.php
christoph at osgeo.org
christoph at osgeo.org
Thu Nov 23 09:29:41 EST 2006
Author: christoph
Date: 2006-11-23 14:29:41+0000
New Revision: 950
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
added includes for highlighting and digitize.conf
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_digitize_tab.php?view=diff&rev=950&p1=trunk/mapbender/http/javascripts/mod_digitize_tab.php&p2=trunk/mapbender/http/javascripts/mod_digitize_tab.php&r1=949&r2=950
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php (original)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2006-11-23 14:29:41+0000
@@ -60,6 +60,8 @@
echo "var mod_digitize_target = '".$e_target[0]."';";
echo "var mod_digitize_frame = '".$e_target[1]."';";
require_once(dirname(__FILE__)."/mod_geometryArray.js");
+ require_once(dirname(__FILE__)."/mod_highlight.php");
+ require_once(dirname(__FILE__)."/../../conf/" . $digitize_conf_filename);
?>
var wfsWindow;
@@ -602,8 +604,8 @@
smP += "></div>";
}
for(var k = 1; k < d.getGeometry(i,j).count(); k++){
- var p0 = realToMap(mod_digitize_target, d.getPoint(i,j,k));
- var p1 = realToMap(mod_digitize_target, d.getPoint(i,j,k-1));
+ var p0 = parent.realToMap(mod_digitize_target, d.getPoint(i,j,k));
+ var p1 = parent.realToMap(mod_digitize_target, d.getPoint(i,j,k-1));
points = calculateActualDash(p0, p1, mod_digitize_width, mod_digitize_height);
if (points != false) {
More information about the Mapbender_commits
mailing list