OSM-3D Applet

From OpenStreetMap Wiki
Jump to navigation Jump to search
Main OSM-3D applet page on www.osm-3d.org

The OSM-3D applet is installed on the osm-3d.org home page (http://www.osm-3d.org/map.htm) and provides a simple way to view and share the contents of OSM-3D.

URL Parameters

The applet can be configured using URL parameters. The view can be centered on a specific location using the lat, lon and zoom parameters. A more extensive configuration can be realized using the B64 context parameter. lat, lon, and zoom will override the viewpoint setting in B64.

Parameter Description Example
B64 Context document encoded in Base64 binary format. The context describes the client configuration, including definition and selection of layers, service URLs (W3DS, Geocoder, Route Service, WMS, EQS etc.), definition of viewpoint parameters, navigation mode, lighting settings, and much more. The context can be created using the XNavigator Webstart, Create Applet menu. H4sIAAAAAAAAA... more characters ...86op5MHAAA=
lat Latitude in degrees 49.412222
lon Longitude in degrees 8.71
zoom Zoom level, comparable to the zoom level of the OSM main map 13

This table is a wiki template with a default description in English. Editable here.



Examples

Heidelberg

http://www.osm-3d.org/map.htm?lat=49.412222&lon=8.71&zoom=13

GIScience Office

http://www.osm-3d.org/map.htm?lat=49.418693320858175&lon=8.676781492245368&zoom=18

Brandenburg Gate in Berlin
http://www.osm-3d.org/map.htm?lat=52.51624398500911&lon=13.37775233514331&zoom=17

Aspen, Colorado
http://www.osm-3d.org/map.htm?lat=39.192222&lon=-106.824444&zoom=14

Munich
http://www.osm-3d.org/map.htm?lat=48.136919798102134&lon=11.574696811099173&zoom=10

Milan
http://www.osm-3d.org/map.htm?lat=45.464021479756&lon=9.189371623704536&zoom=14

Prague
http://www.osm-3d.org/map.htm?lat=50.087524543630835&lon=14.421072543644842&zoom=15

Vulcano Osorno
http://osm-3d.org/map.htm?B64=H4sIAAAAAAAAAM1TTW/bMAz9LTrwGFvfkosih609FtuQAjsGTsy4Bpw4le1h3a/fc5puaw9ZCgTYDBigSD7yiXwi5a0gKwopC2XIieu6GVdXdduteD6kka/zPxzkxSzKELzymS98CM5bCoKimDmpo3ZFppU0QUUbqBCkpDAqykwWLkZrZYhBOlIKES1mWmeFLn590UV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iXJLGlkIsjnTu/90mnnx7Og0fO0xE6xX8hlxjzUgcsU/bdGW69D2krJn21dhW47t8Ni0YdX8CEs9WTNR5zfwZ1XcqmB6IxJMtnZuch9JMBlWHHKuZa/ZV8OxDcvz5jX1cwm9/aX13di002VekklvFamvLbLsw939wwWJb50izxO4lsZFFXaFOLjYlYd98+WvYsWo222zueY8r33pH8d122xOL+rQxeF/ljrEEC5509C/Ejgxwk9pKmcR4AYAAA==

Map Functions

The Applet page supports a limited set of map functions, which have been implemented using JavaScript and the External Authoring interface of the applet.

Permalink
Creates a URL with a full B64 context parameter including the viewpoint seetings.

GetFeatureInfo
Can be used to access attribute information of map features. A separate window will pop up with a table.

GetAddress
Click on the map and get the address of selected features.

External links