<html><body bgcolor="#FFFFFF"><div><div><div></div><div><span class="Apple-style-span" style="font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><span>I am new to openlayers, so please excuse my lack of knowledge here.</span><br><span></span><br><span>I have set up a map of my college campus in openlayers and would like&nbsp;</span><span>to add some functionality to it.</span><br><span></span><br><span>What I am looking to do is have locations ( prefferably rectangular</span><br><span>polygon areas ) set up that when clicked will open a popup and show a&nbsp;</span><span>photograph of the location. I have a database set up in SQL with the&nbsp;</span><span>names, locations, and photographs. I am just not sure how to get the&nbsp;</span><span>information to show on my map.</span><br><span></span><br><span>I did look at the examples, some of them help, but I am still unsure</span><br><span>how I can use the database information on my map. I have added a popup&nbsp;</span><span>to my map using the example in select-feature-openpopup, however I am&nbsp;</span><span>unable to add multiple locations with different information. Should I&nbsp;</span><span>be using an XML document to populate my map? How would I set up&nbsp;</span><span>openlayers to get that information?</span><br><span></span><br><span>Sorry for the long post, can anyone point me in the right direction?</span></span><br></div></div><div></div></div><div></div></body></html>