DEV Community

Cover image for React MapQuest Static Maps
Joe Attardi
Joe Attardi

Posted on

React MapQuest Static Maps

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

Top comments (3)

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...

Collapse
 
ricardoleme profile image
Prof. Ms. Ricardo Leme

repository down :(

Collapse
 
joeattardi profile image
Joe Attardi

This post is almost two years old, things change 😂