By projections, I meant coordinate systems (probably)
EPSG:4326 === WGS84
Duplicate of #3184
Let me put it another way,
for the raster tiles, i could (and do) use epsg:900913,
but for the actual data i'm projecting, i'm using epsg:4236
The reliability of the actual positions and area of the polygons
that are projected is very important, and is the core usage for my application;
I haven't checked it yet, but lets say, if I'm projecting a polygon on a mounty area,
which recieved at EPSG:4236, and projected in that ellipsoide manner, but on a 900913 raster tile,
does it make a difference? or that stuff is being thought-through at the rendering stage?
Thank you so much for everything guys
Mapbox GL JS only supports Web Mercator/EPSG:900913, so you'll have to reproject other coordinate systems. When rendering EPSG:4326, you'll have a similar issue in that direct lines in that projection don't reflect the actual path as the crow flies. If you need these paths, you'll have to create intermediate points yourself, e.g. with something like cheap ruler or arc.js
I am not sure what's going on for this projection problem, I searched the issue, lots of people asked for this feature which is nicely supported in Openlayers, Leaflet and etc. As a mapping library with almost 2k stars, it is strange that some common concepts like projection crs are not supported.
I guess if this project is hosted by mapbox company whose most important assets are data with 3857 projection, they can not benefits from mapbox-gl-js unless the api and the data are bound together.
If true, I do not think mapbox-gl-js will support custom projection in the future. So people who need cusotm project may make a fork and customize it by yourself.
Anyway, mapbox-gl-js is a wonder library and mapbox is the most open geographic company as far as I know.
Most helpful comment
I am not sure what's going on for this projection problem, I searched the issue, lots of people asked for this feature which is nicely supported in Openlayers, Leaflet and etc. As a mapping library with almost 2k stars, it is strange that some common concepts like
projectioncrsare not supported.I guess if this project is hosted by mapbox company whose most important assets are data with
3857projection, they can not benefits frommapbox-gl-jsunless the api and the data are bound together.If true, I do not think
mapbox-gl-jswill support custom projection in the future. So people who need cusotm project may make a fork and customize it by yourself.Anyway,
mapbox-gl-jsis a wonder library andmapboxis the most open geographic company as far as I know.