Bing Static Map Maker

Bing Map

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

https://dev.virtualearth.net/REST/V1/Imagery/Map/[[base.mapType]]/[[ base.location | encode]][[ ((base.location | strip ) | isNumber) == true && '/'+base.zoom || '' ]]?mapSize=[[base.width]],[[base.height]][[base.showTraffic == true && '&mapLayer=TrafficFlow' || '']]&format=[[base.format]][[pushpinSet()]]&key=[[ base.API && base.API || 'YOUR-API-KEY-HERE' ]]

HTML

<img width="[[base.width]]" src="https://dev.virtualearth.net/REST/V1/Imagery/Map/[[base.mapType]]/[[ base.location | encode]][[ ((base.location | strip ) | isNumber) == true && '/'+base.zoom || '' ]]?mapSize=[[base.width]],[[base.height]][[base.showTraffic == true && '&mapLayer=TrafficFlow' || '']]&format=[[base.format]][[pushpinSet()]]&key=[[ base.API && base.API || 'YOUR-API-KEY-HERE' ]]" alt="Bing Map[[base.auto != true && ' of '+ base.location || '' ]]">

CSS

background-image: url(https://dev.virtualearth.net/REST/V1/Imagery/Map/[[base.mapType]]/[[ base.location | encode]][[ ((base.location | strip ) | isNumber) == true && '/'+base.zoom || '' ]]?mapSize=[[base.width]],[[base.height]][[base.showTraffic == true && '&mapLayer=TrafficFlow' || '']]&format=[[base.format]][[pushpinSet()]]&key=[[ base.API && base.API || 'YOUR-API-KEY-HERE' ]]);
  1. You'll need to grab your Bing 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 Bing will send it back.

The Static Map Maker helps you configure the Bing API parameters and gives you the code in real time.

Check out Bing's static maps API.

Made by Katy DeCorah.