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' || '']]);
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.