DEV Community

Cover image for React MapQuest Static Maps
Joe Attardi
Joe Attardi

Posted on

4

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 😂

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay