Use an url like this

http://www.openstreetmap.org/api/0.6/relation/1273572/full
 
which returns osm-data, which you can display as vector layer, format osm.

Arnd

-----Ursprüngliche Nachricht-----
Von: openlayers-users-boun...@lists.osgeo.org
[mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von Wyo
Gesendet: Samstag, 27. November 2010 22:45
An: openlayers-users@lists.osgeo.org
Betreff: [OpenLayers-Users] Display a relation via ID

OSM can display a relation via URL parameter like ".../?relation=1273572",
how is that done? Is there a a layer function which can show relations
and/or way?

Wyo

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to