aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/index.html6
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) {