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

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more