[Mapbender-commits] r8139 - branches/2.7/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 12 07:27:59 EDT 2011
Author: kmq
Date: 2011-09-12 04:27:59 -0700 (Mon, 12 Sep 2011)
New Revision: 8139
Modified:
branches/2.7/http/plugins/mb_print.php
Log:
get Image from Marker
Modified: branches/2.7/http/plugins/mb_print.php
===================================================================
--- branches/2.7/http/plugins/mb_print.php 2011-09-12 10:24:27 UTC (rev 8138)
+++ branches/2.7/http/plugins/mb_print.php 2011-09-12 11:27:59 UTC (rev 8139)
@@ -483,10 +483,11 @@
for(var idx = 0; idx < GlobalPrintableGeometries.count(); idx++ ) {
feature = GlobalPrintableGeometries.get(idx);
realpos = feature.get(0).get(0);
+ path = feature.e.getElementValueByName("Mapbender:icon");
// The offsets are set to 40, meaning that images will need to be 80 x 80 with the tip of the marker- pixel being in the middle
markers.push({
position: [realpos.x,realpos.y],
- path:"../img/pinblau.png",
+ path: path,
width: 40 * 2,
height: 40 * 2,
offset_x: 40,
More information about the Mapbender_commits
mailing list