Request
https://www.mapquestapi.com/staticmap/v5/map?center=Albany%2C+NY&zoom=13&size=600%2C300%402x&type=map&key=YOUR-API-KEY-HERE
<img width="600" src="https://www.mapquestapi.com/staticmap/v5/map?center=Albany%2C+NY&zoom=13&size=600%2C300%402x&type=map&key=YOUR-API-KEY-HERE" alt="MapQuest map of Albany, NY" />
background-image: url(https://www.mapquestapi.com/staticmap/v5/map?center=Albany%2C+NY&zoom=13&size=600%2C300%402x&type=map&key=YOUR-API-KEY-HERE);
How to use
- Get a MapQuest API key.
- Customize the fields to build your map.
- Copy and paste the generated code into your HTML document or a stylesheet.
About
You can add a static map to any website with simple HTML and no JavaScript. Using URL parameters, you can describe the type of map that you want and MapQuest will send it back.
The Static Map Maker helps you configure the MapQuest API parameters.
Check out MapQuest's static maps API.