<div>Dear Bart,</div><div> </div><div>thank you very much. It works!</div><div> </div><div>Best regards.</div><div> </div><div>Albert<br><br></div><div class="gmail_quote">On Wed, Dec 14, 2011 at 6:42 PM, Bart van den Eijnden <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div style="word-wrap:break-word">Add isBaseLayer: false to your options1 and options2.<div>
<br></div><div>Bart</div><div><br><div>
<span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word">
<span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word">
<span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word">
<span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word">
<span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word">
<span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate"><div style="word-wrap:break-word"><div><div><div>-- <br>Bart van den Eijnden<br>
OSGIS - <a href="http://osgis.nl" target="_blank">http://osgis.nl</a></div></div></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br><div><div><div class="h5"><div>On Dec 14, 2011, at 11:40 AM, Albert Ang wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div>Dear users,</div><div> </div><div>I wish to load multiple images onto OpenLayers at the same time but it seems it can only shows one image and by default they become base layer. Kindly advise.</div>
<div> </div><div>Thank you adn best regards.</div>
<div> </div><div>Albert Ang</div><div> </div><div>Here are my code sniplets :</div><div> </div><div>(only the first image is shown when I tested out my code)</div><div><font></font> </div><div>var options1 = {'numZoomLevels': 5};</div>
<div> </div><div>var options2 = {'numZoomLevels': 5};</div><div><span lang="EN"><p>var map1 = new OpenLayers.Layer.Image('Archive Image',<br> 'ovr/WV200326510001A_000007993_Browse_0.jpg',<br>
new OpenLayers.Bounds(103.321116, 1.583172, 103.477428, 1.814436),<br> new OpenLayers.Size(1089, 1659), <br> options1);</p><p>
var map2 = new OpenLayers.Layer.Image(<br> 'Archive Image 2',<br> 'ovr/WV200326510001A_000007995_Browse_0.jpg',<br> new OpenLayers.Bounds(103.463892, 1.43946, 103.614444, 1.81746),<br>
new OpenLayers.Size(1050, 2669),<br> options2);</p></span><p>map.addLayers([map1, map2]);</p><font></font></div></div></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br></div></div></blockquote></div><br>