OL3 reproject geoJSON in EPSG:4326

المشرف العام

Administrator
طاقم الإدارة
qgis2web is a plugin for QGIS which creates webmaps. This question is about its OpenLayers 3 export. It exports QGIS layers to geoJSON to pull into the OL3 map. It writes them in EPSG:4326, as I believe this is at least a proposed standard for geoJSON. This works for default (EPSG:3857) OL3 maps.

However, I am trying to implement support for multiple projections in qgis2web. I cannot get the geoJSON EPSG:4326 points to display on the OL3 map if it uses any projection other than EPSG:3857.

A sample qgis2web OL3 map is here: https://www.dropbox.com/s/76ru3x1b6mvjpc3/epsg_27700.zip?dl=0. Can anyone help me figure this out? What am I missing?



أكثر...
 
أعلى