From 9deee4b61312ba80e63ef7d769640e8f3cc89653 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 15 Sep 2014 17:37:32 +0100 Subject: Add some documentation explaining the OverpassAPI query --- examples/index.html | 6 ++++++ 1 file changed, 6 insertions(+) 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) { -- cgit v1.2.3