Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it necessary to add tile layer for making a GeoJSON data rendered in web browser using Leaflet or any other API ?

I have a geoJSON data (I obtained the GeoJSON data by converting .shp file to GeoJSON using ogr2ogr) of a small hypothetical network which I want to render in the browser. My network when opened in QGis is shown in this link

For the above network it makes no sense to add a Tile layer of OSM or any other service. Is there a way I can render the network shown above in the web using leaflet or any other API ?

I'm very new to GIS related thing. Thanks in advance for help.

share|improve this question
up vote 3 down vote accepted

There's no need to use a tile layer to display geoJSON features in most APIs. This looks like it does what you want in Leaflet.

One word of warning though. This method will get very slow when you start displaying lots of features- it's then you need to look at using a tile layer for performance reasons.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.