Open alternatives to Google-maps?

2019-01-30 08:41发布

问题:

I'm looking for an alternative to Google-maps with all the richness of their API but more open. Does such a thing exist?

回答1:

OpenStreetMap is, of course, the obvious answer. There are various APIs for managing the data in the database, and there are various APIs for getting maps onto your webpages, such as OpenLayers, Mapstraction, or Staticmaps.



回答2:

Google have recently introduced a limit of 25,000 map sessions per day, which forced us to consider the alternatives for some of our sites.

We've written a blog post about it with some examples here.

In a nutshell, we have chosen to use a combination of CloudMade's Leaflet for the Javascript Map API, and then Open MapQuest (based on OpenStreetMap data) for the tiles.



回答3:

You might want to consider http://leaflet.cloudmade.com/



回答4:

OpenLayers

About...
OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles and markers loaded from any source. MetaCarta developed the initial version of OpenLayers and gave it to the public to further the use of geographic information of all kinds. OpenLayers is completely free, Open Source JavaScript, released under a BSD-style License.



回答5:

If you are in the UK you can use the Ordance Surveys' OS Open Data maps.



回答6:

Consider this article: http://www.alistapart.com/articles/takecontrolofyourmaps

Here are a few options suggested by the article:
1-OpenLayers
2-TileCache
3-Mapnik
4-QGIS

The article explains (theoretically) how to create your own software stack that will mimic google maps, but remain under your complete control.

You might not need all the layers of software for your project, but you may find the article helpful regardless.