DEV Community

loading...
Cover image for React MapQuest Static Maps

React MapQuest Static Maps

joeattardi profile image Joe Attardi ・1 min read

MapQuest has an API of sorts for generating and customizing static map images, which I was using in a site I was working on recently. I abstracted it into a React component and thought others might find it useful.

Examples here: https://joeattardi.github.io/react-mapquest-static-map/examples/MapWithCenter

Code here: https://github.com/joeattardi/react-mapquest-static-map

Discussion (1)

pic
Editor guide
Collapse
malvoz profile image
Robert Linder

FWIW there are other map service providers that offer static map embeds, see maps4html.github.io/HTML-Map-Eleme...