Can anyone help me with a free Map API I could use for my website? I would like to use the users IP address and display nearby Ports.

Your help would be much appreciated.

  • What kind if ports? Shipping ports? If Ethernet ports, you want a floorpan app, not mapping. If real mapping, use Leaflet as a front-end to Open Street Maps (and be aware of our sister site gis.stackexchange.com. Btw, your question is far to broad. Please read How to Ask – Mawg says reinstate Monica Aug 7 '19 at 7:42

OpenLayers.com - probably the best alternative to Google Maps. Key features: free, open source, solid documentation. Github repo.

| improve this answer | |
  • Thank you for your help. Yes it’s shipping ports I would like to use the Map API for. If I use OpenLayers which seems to be the best free API would I need to then access a database of port information such as name and location. Is this information free? – mike 123 Aug 8 '19 at 7:28

On this web page you get a lot of previews of free web map services that cover the globe. Some services are entirely free, some require registration and an API key but are still free up to a threshold.


You don't have to use Leaflet to use these web map services, it just so happens that someone from the Leaflet community has compiled all the provider endpoint URLs and created the nice preview page.

What matters is the URL given in the red font in the small text window.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.