Arrow marker on permalink?

Okay, this may be a goofy question, but:
When I log in to OSM, there is an arrow marker to my home location.
Is there a way to present a permalink which will include such an arrow? If I post an OSM link and say it is on Whatever Street - which is five miles long - an arrow marker would be handy.

I don’t think you can do it as a permalink, though may be wrong. You can get some embeddable HTML which does it.

Click the Export tab (at say and select embeddable HTML which would give you the option to add a marker, and result in something like:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
style="border: 1px solid black"></iframe><br /><small>
<a href="">
View Larger Map</a></small>

Edit: I am wrong.

The view should centre on mlat and mlon unless you also specify lat and lon. I tried just cutting the URL out of the above example. That doesn’t show the marker because of the layers value, but changing it to


seemed to work.

In a permalink you can see lat= and lon=
Change them to mlat and mlon.


+1 works like a charm…

For something you don’t want to do but is cool. Take a look at notice that the area is highlighted…

It’s pretty easy todo:

    var osm_layer = new OpenLayers.Layer.GML("OSM", "", {
      format: OpenLayers.Format.OSM,
      projection: new OpenLayers.Projection("EPSG:4326")

    osm_layer.loaded = true;