<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>