[OpenLayers-Users] Inserting a markers layer in an arbitrary place
in a DOM
Lukasz Koszanski
lkoszanski at ncct.uottawa.ca
Wed Sep 5 10:22:54 EDT 2007
Hi everyone,
I would like to insert the a markers layer in a custom place in my DOM
document, that is, instead of inserting it in the default openlayers
container div like
in the following example
...
<div id="divOLId_0_OpenLayers_Container" style="position: absolute;
z-index: 749; left: 0px; top: 0px;">
<div id="OpenLayers.Layer.Image_63" style="position: absolute; width:
100%; height: 100%; z-index: 100;"></div>
<div id="OpenLayers.Layer.WMS_51" style="position: absolute; width:
100%; height: 100%; z-index: 105; display: none;"></div>
<div id="OpenLayers.Layer.Markers_103" style="position: absolute;
width: 100%; height: 100%; display: none; z-index: 335;"></div>
</div>
...
I would like to insert the "OpenLayers.Layer.Markers_103" in an
arbitrary place in my DOM. For example in a div with id="blah".Anyone
knows hot to do it?
Thanks, Luke
More information about the Users
mailing list