Skip to main content
Solved

Add a map image to an email without google map api key


bilal
Contributor
Forum|alt.badge.img+4
  • Contributor

How can I add a map image to an email.

I have a lat long coordinate. I do not have a google maps api key so google maps is out of the question. Any tips would be really appreciated.

Best answer by hansgm

Hello

You can use a Imagefetcher Transformer

 

You can get a static map with the following Image URL:

http://osm-static-maps.herokuapp.com/?height=600&width=600&center=2.29469,48.8583&zoom=20&attribution=© OpenStreetMap-Contributors

 

Options for the URL can be find here

https://github.com/jperelli/osm-static-maps

 

More static maps are documented here

https://wiki.openstreetmap.org/wiki/Static_map_images

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+47

Do you need global coverage? If so, I think there's some OpenStreetMap WMS services you could use to get static images from and embed those.


hansgm
Contributor
Forum|alt.badge.img
  • Contributor
  • Best Answer
  • August 18, 2020

Hello

You can use a Imagefetcher Transformer

 

You can get a static map with the following Image URL:

http://osm-static-maps.herokuapp.com/?height=600&width=600&center=2.29469,48.8583&zoom=20&attribution=© OpenStreetMap-Contributors

 

Options for the URL can be find here

https://github.com/jperelli/osm-static-maps

 

More static maps are documented here

https://wiki.openstreetmap.org/wiki/Static_map_images


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings