Michael Erb
Michael Erb

Reputation: 129

Other projections in Google Maps API?

I'm plotting data using lat/lons with Google Maps API. However, some of my data is at high latitude, and it isn't plotted because Google Maps uses a Mercator projection which cuts off at 85 degrees. Is there any way around this?

Here's my current map: http://erbweather.com/choosestation_GSOD_global.html

For Antarctica, I'm using a different map entirely: http://erbweather.com/choosestation_GSOD_Antarctica.html

Is there a way to have all data on one (good looking and responsive) map?

Upvotes: 2

Views: 1003

Answers (1)

F. Lumley
F. Lumley

Reputation: 765

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

Upvotes: 4

Related Questions