[OpenLayers-Users] Print / Saving Image

Gregor Mosheh gregor at hostgis.com
Mon Dec 10 19:50:56 EST 2007


Gregor Mosheh wrote:
> class -- if it's a Marker layer, have it collect Markers' URLs instead 
> of collecting URLs for each tile.

To clarify: Instead of iterating through the Layer's Tile objects, 
iterate through the Layer's Marker objects. Fetch the URL of its image, 
and the pixel location of the Marker or its Image.

Once those are stuffed into the object-array, they should work 
transparently with the existing print.php

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the Users mailing list