Skip to content

Commit 7576b2f

Browse files
committed
Add GeoJSON leaflet example
1 parent cd5695f commit 7576b2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/clients/leaflet/vanilla.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
}).addTo(mymap);
2424

2525
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}",
2827
}).addTo(mymap);
2928
</script>
3029

0 commit comments

Comments
 (0)