Skip to content

Commit

Permalink
Add GeoJSON leaflet example
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Jun 21, 2019
1 parent cd5695f commit 7576b2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/clients/leaflet/vanilla.html
Expand Up @@ -23,8 +23,7 @@
}).addTo(mymap);

L.geoJSONURL({
url: "http://localhost:8000/src/geojson/countries/1,2?bbox={bbox}",
//url: "http://localhost:8000/src/geojson/users?filter=location,swi,POLYGON(({lon1} {lat1},{lon1} {lat2},{lon2} {lat2},{lon2} {lat1},{lon1} {lat1}))",
url: "http://localhost:8000/api.php/geojson/countries/1,2?bbox={bbox}",
}).addTo(mymap);
</script>

Expand Down

0 comments on commit 7576b2f

Please sign in to comment.