0

This would appear to be the most basic and trivial thing, except that I can't find out how to do it. I have a shapefile which contains the boundaries of all electorates in my state (this is in Australia, not that it matters). I can convert the shapefile to a GeoJSON file, and all I want to do is to plot one boundary on my map.

The last time I did any mapping work (several years ago) I used Python with its Folium and GeoPandas libraries. But I thought I'd try Leaflet using JavaScript - assuming that I could do everything I needed. But I seem to have got stuck at the start.

I'd be happy of any pointers!

2
  • The obvious starting point is leafletjs.com/examples.html Commented Feb 12 at 11:22
  • Thank you - I got confused with that until it was pointed out to me that I was just viewing my html/javascript pages in a browser, instead of serving them with a web server. The latter made all the difference. Commented Feb 13 at 9:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.