i'm using leaflet to render a map on my site.

The problem is, i use mongoDB to perform some geospatial queries serverside, which use as standard the infamous epsg4326.

It appears that on leaflet there is support for this format, though i wasn't able to find a tile server with this specification.

Can anyone suggest one ?

  • 1
    You would probably be interested in this: gis.stackexchange.com/questions/198073/…
    – ghybs
    Jun 21, 2016 at 2:01
  • 1
    Unless I'm missing something, the data in MongoDB must be vector data right? In that case, you can keep the map in WebMercator, and just show your data on top of it, as a Vector (i.e. GeoJSON, etc) Layer. Jun 21, 2016 at 4:07
  • problem is i'm using geojson documents in mongo and geospatial query to retrive data, but the geospatial queries use as projection this format, while on leaflet even if there's support for epsg4326, the tile servers i've found only serve 3857...
    – darkpirate
    Jun 21, 2016 at 17:12

1 Answer 1


Hmm. Yes, most tile provider use 3857 but, 4326 is also native supported by leaflet.

Before you asked question did you try retrieved data from mongo to use with leaflet? As far as I know it's shouldn't be a problem. When you add geojson with points in 4326 leaflet will internally reproject them to 3857.

  • yeah, deforming them. i've done it. i need leaflet to not projects the points at all
    – darkpirate
    Jun 26, 2016 at 2:53

Your Answer

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

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