diff options
author | Christopher Baines <mail@cbaines.net> | 2014-09-15 17:37:32 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2014-09-15 17:37:32 +0100 |
commit | 9deee4b61312ba80e63ef7d769640e8f3cc89653 (patch) | |
tree | 5d23a08f21846a0e22a9377d3ad99b003ea2a15f /examples/index.html | |
parent | f902b28ecf842c382181f37e3932fe9c343aba77 (diff) | |
download | leaflet-indoor-9deee4b61312ba80e63ef7d769640e8f3cc89653.tar leaflet-indoor-9deee4b61312ba80e63ef7d769640e8f3cc89653.tar.gz |
Add some documentation explaining the OverpassAPI query
Diffstat (limited to 'examples/index.html')
-rw-r--r-- | examples/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/index.html b/examples/index.html index 221abdc..b5a5a5a 100644 --- a/examples/index.html +++ b/examples/index.html @@ -50,6 +50,12 @@ zoom: 19 }); + // This example uses OpenStreetMap data, fetched from the OverpassAPI, + // note however that leaflet-indoor does not fetch any data. + // + // 1370729 is the OSM ID for the relation of the building used in this + // example, it can be viewed online here: + // http://www.openstreetmap.org/relation/1370729 var query = '(relation(1370729);>>->.rels;>;);out;'; $.get("//overpass-api.de/api/interpreter?data=" + query, function(data) { |