<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br>Hello Judy,<br><br>Do you mean embed a map in your website and show POIs as markers?<br><br>This is described in the wiki at<br><br><a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example">http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example</a><br><br>For POIs, what you should do is download a planet.osm extract for your area of interest, see<br><br><a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Planet.osm">http://wiki.openstreetmap.org/wiki/Planet.osm</a><br><br>then use Osmosis:<br><br><a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Osmosis">http://wiki.openstreetmap.org/wiki/Osmosis</a><br><br>to extract the data you need, then import that data into a database, e.g. osm2pgsql:<br><br><a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Osm2pgsql">http://wiki.openstreetmap.org/wiki/Osm2pgsql</a><br><br>You can then generate a feed from the database in a given format (e.g. GeoRSS) from PHP by querying the database, and overlay it on OpenLayers, e.g see<br>the following for an introduction to OpenLayers:<br><br><a class="moz-txt-link-abbreviated" href="http://www.openlayers.org">www.openlayers.org</a><br><a class="moz-txt-link-freetext" href="http://www.soc.org.uk/southampton09/presentations/OpenLayers.pdf">http://www.soc.org.uk/southampton09/presentations/OpenLayers.pdf</a><br><a class="moz-txt-link-freetext" href="http://www.free-map.org.uk/course/ewt/openlayers.xhtml">http://www.free-map.org.uk/course/ewt/openlayers.xhtml</a><br><a class="moz-txt-link-freetext" href="http://www.free-map.org.uk/course/ewt/openlayers.2xhtml">http://www.free-map.org.uk/course/ewt/openlayers.2xhtml</a><br><br>Hope I've understood what you want to do correctly!<br><br>Nick<br><br><br><font color="#990099">-----Judy Lovas <a class="moz-txt-link-rfc2396E" href="mailto:jdlovas@gmail.com"><jdlovas@gmail.com></a> wrote: -----</font><div><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:solid black 2px;margin-right:0px">To: <a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>From: Judy Lovas <a class="moz-txt-link-rfc2396E" href="mailto:jdlovas@gmail.com"><jdlovas@gmail.com></a><br>Date: 16/11/2011 03:20PM<br>Subject: [OSM-dev] how to call from php?<br><br><div>hi OSM folks</div> <div> </div> <div>I have a php application that I would like to be able to call map pages from and pass location coordinates and have places marked on the generated map in a browser window.  The old mapping software I had been using went out of business and I cannot get newer tiger updates for its maps.  I just happened upon OSM and would like use your maps if possible.  What is the best way to create this interface from php code?  Right now I my php app is hosted with a linux service provider.  Would I need to download map files, or can I just link to OSM servers?</div> <div> </div> <div>Thank you in advance for your help and advice.</div> <div>Judy</div> <font face="Courier New,Courier,monospace" size="2">_______________________________________________<br>dev mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a><br></font></blockquote></div></font>