0

我正在使用 lat/lons 和 Google Maps API 绘制数据。但是,我的一些数据位于高纬度,并且没有绘制出来,因为谷歌地图使用了 85 度截断的墨卡托投影。有没有办法解决?

这是我目前的地图:http ://erbweather.com/choosestation_GSOD_global.html

对于南极洲,我使用的是完全不同的地图:http: //erbweather.com/choosestation_GSOD_Antarctica.html

有没有办法将所有数据都放在一个(美观且响应迅速)的地图上?

4

1 回答 1

2

I recently asked a similar question (which sadly got voted down): Is it possible to use non Mercator projections in Mapbox, Google Maps or any other webmap API?

Google's Mercator projection cuts off at 85 degrees because things get extremely distorted after that point.

As far as I know there are limited options for non-Mercator projections in web map APIs. Here are the best I've found so far:

  • Google sort of supports other projections

  • OpenLayers supports other projections using proj4

  • This open issue on Mapbox might be worth following

  • Cesium supports globe/ flat views

  • If you only need limited web map functionality then d3 could provide some options: e.g. d3-geo-projection

于 2018-10-19T00:07:13.700 回答