Browse Source

Add GeoJSON leaflet example

Maurits van der Schee 5 years ago
parent
commit
7576b2f36c
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      examples/clients/leaflet/vanilla.html

+ 1
- 2
examples/clients/leaflet/vanilla.html View File

@@ -23,8 +23,7 @@
23 23
 	}).addTo(mymap);
24 24
 
25 25
 	L.geoJSONURL({
26
-		url: "http://localhost:8000/src/geojson/countries/1,2?bbox={bbox}",
27
-		//url: "http://localhost:8000/src/geojson/users?filter=location,swi,POLYGON(({lon1} {lat1},{lon1} {lat2},{lon2} {lat2},{lon2} {lat1},{lon1} {lat1}))",
26
+		url: "http://localhost:8000/api.php/geojson/countries/1,2?bbox={bbox}",
28 27
 	}).addTo(mymap);
29 28
 </script>
30 29
 

Loading…
Cancel
Save