[OpenLayers-Dev] Re: how to create static vector layer.
dr
rykovd at gmail.com
Sun Apr 3 01:20:59 EDT 2011
You could save your layers as image and paste it into the map:
var marker =
OpenLayers.Util.createDiv("marker",map.getLayerPxFromLonLat([your
coordinates]),new
OpenLayers.Size(25,23),"./images/cursor-crosshair.gif",null,null,null,null);
marker.style.zIndex = 2000;
map.div.appendChild(marker);
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-create-static-vector-layer-tp6229825p6234672.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev
mailing list