Google Maps - addGeoJson is not working for my file

前端 未结 2 1407
花落未央
花落未央 2021-02-09 13:56

addGeoJson is not working in google map for my file

please check below code that I am using in javascript

//create the map
map = new google.maps.Map(doc         


        
2条回答
  •  鱼传尺愫
    2021-02-09 14:01

    Since Google Maps expects GeoJSON to be in EPSG:4326, Sensitive_Areas_Nitrates_Rivers.json needs to be reprojected. QGIS, for instance, could be utilized for that matter (refer docs for a details)

    Reprojected Sensitive_Areas_Nitrates_Rivers.json layer will be displayed like this:

提交回复
热议问题