OpenLayers OpenLayers

Changeset 5903

Show
Ignore:
Timestamp:
01/26/08 09:46:12 (1 year ago)
Author:
crschmidt
Message:

Updating example for changed location where osm_id is stored

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/osm-layer.html

    r5902 r5903  
    2828                type = "node"; 
    2929            }     
    30             text += "<li>" + feature.fid + ": <a href='http://crschmidt.net/osm/attributes.html?type="+type+"&id="+feature.fid+"'>Edit</a>, <a href='http://www.openstreetmap.org/api/0.5/"+type + "/" + feature.fid + "'>API</a></li>"; 
     30            text += "<li>" + feature.osm_id + ": <a href='http://crschmidt.net/osm/attributes.html?type="+type+"&id="+feature.osm_id+"'>Edit</a>, <a href='http://www.openstreetmap.org/api/0.5/"+type + "/" + feature.osm_id + "'>API</a></li>"; 
    3131            for (var key in feature.attributes) { 
    3232                text += "<li>" + key + ": " + feature.attributes[key] + "</li>";