title: Openstreetmap: embedding map in webpage (like Google Maps)
body: <p>Is there a way to embed/mashup the OpenStreetMap in your page (like the way <a href="http://code.google.com/apis/maps/" rel="noreferrer">Google Maps API</a> works)?</p>
  
  <p>I need to show a map inside my page with some markers and allow dragging/zooming around, maybe routing.
  I suspect there would be some Javascript API for this, but I can't seem to find it.</p>
  
  <p>Searching gets me an <a href="http://wiki.openstreetmap.org/wiki/API" rel="noreferrer">API for access to raw map data</a>, but that seems to be more for map editing; besides, working with that would be a heavy task for AJAX.</p>