MapQuest Static Map Maker

Try another API:
Bing CartoDB Google HERE Mapbox Yandex
MapQuest Map of [[base.location]]

Treat the code like an image — you can use HTML or CSS to display it.

https://www.mapquestapi.com/staticmap/v4/getplacemap?key=[[ base.API && base.API || 'YOUR-API-KEY-HERE' ]]&location=[[base.location.split(' ').join('+')]]&size=[[base.width]],[[base.height]]&type=[[base.mapType]]&zoom=[[base.zoom]]&imagetype=[[base.format]]&scalebar=[[base.scaleBar]][[base.scaleBar == true && '&scalebarPos='+base.scalebarPos || '']][[base.showTraffic == true && '&traffic='+base.traffic || '']][[base.showMarker == true && '&showicon='+base.markerColor+'-1' || '']]

HTML

<img width="[[base.width]]" src="https://www.mapquestapi.com/staticmap/v4/getplacemap?key=[[ base.API && base.API || 'YOUR-API-KEY-HERE' ]]&location=[[base.location.split(' ').join('+')]]&size=[[base.width]],[[base.height]]&type=[[base.mapType]]&zoom=[[base.zoom]]&imagetype=[[base.format]]&scalebar=[[base.scaleBar]][[base.scaleBar == true && '&scalebarPos='+base.scalebarPos || '']][[base.showTraffic == true && '&traffic='+base.traffic || '']][[base.showMarker == true && '&showicon='+base.markerColor+'-1' || '']]" alt="MapQuest Map[[base.auto != true && ' of '+ base.location || '' ]]">

CSS

background-image: url(https://www.mapquestapi.com/staticmap/v4/getplacemap?key=[[ base.API && base.API || 'YOUR-API-KEY-HERE' ]]&location=[[base.location.split(' ').join('+')]]&size=[[base.width]],[[base.height]]&type=[[base.mapType]]&zoom=[[base.zoom]]&imagetype=[[base.format]]&scalebar=[[base.scaleBar]][[base.scaleBar == true && '&scalebarPos='+base.scalebarPos || '']][[base.showTraffic == true && '&traffic='+base.traffic || '']][[base.showMarker == true && '&showicon='+base.markerColor+'-1' || '']]);
  1. You'll need to grab your MapQuest API token.
  2. Customize the fields to build your map.
  3. The “Code” tab contains the code for your map including examples.
  4. Copy and paste the code into your HTML document or a stylesheet.

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 and gives you the code in real time.

Check out MapQuest's static maps API.

Made by Katy DeCorah.