BingMaps – Map Viewer


An interactive map can be added to your website by adding a single shortcode. The location the map can be specified either by shortcode attribute or URL parameters. Other (optional) values can be added to specify the scale of the map, screen size in pixels, and the map type.

Features Summary

  • Adds an interactive map to your WordPress Page or Page
  • Location specified by shortcode attribute
  • Image size can be specified by optional shortcode attribute
  • Map scale can be specified by optional shortcode attribute
  • Displays Ordnance Survey Mapping (GB locale only)
  • Shortcode Attributes can be replaced by URL Parameters


  • Settings Page
  • Typical output (Road Map)
  • Typical output (OS Map)


How do I set up BingMaps?
  • Install the plugin and activate it
  • Go to and sign up to get a free BingMaps key
  • Go to the BingMaps – Settings page and enter your BingMaps key
  • Create a page on your website to contain the map (or edit an existing one) and add the shortcode to it
How do I add a map to my site?

Add the shortcode to either a new or existing page on your site.

How do I specify the map coordinates in the shortcode?

Some typical shortcodes, where the coordinates are specified, as follows:

[bingmaps-map x=51.503146 y=-0.002979]

[bingmaps-map posn=51.477841,-0.001548 zoom=14 w=800 h=500 type=ordnanceSurvey] (GB locale only)

How do I pass the map coordinates in the URL?

Shortcode Attributes can specify that a URL Parameter is to be used for the value, by enclosing the ID of the Parameter in braces. A typical shortcode where coordinates are passed in the URL is as follows:

[bingmaps-map posn={myposn} zoom={myzoom} w={mywidth} h={myheight} type={mytype}]

The shortcode attributes above specify the ID of the URL parameter that will be used for the map coordinate etc. A typical URL for this shortcode would therefore be as follows:


How do I add pushpins to the map?

The Shortcode Attributes ‘pin1’, ‘pin2’ etc. specify the position of pushpins. Alternatively the use ‘pin={mypin}’ to specify that the URL Parameters mypin1, mypin2 etc. are to be used for pushpin positions.

What map types are available?

All map types supported by the Bing Maps AJAX Control can be displayed. The map types available depends on the locale selected in the BingMaps settings.

The Bing Maps help page ( lists all available map types.


  • Version History for BingMaps Plugin


  • Shortcode attributes can be specified by URL Parameters
  • ‘x’ and ‘y’ Shortcode Attributes replaced by a ‘posn’ Attribute
  • Added pushpins


  • Shortcode help corrected
  • Added Plugin URI to header


  • First public release

Contributors & Developers

BingMaps – Map Viewer is open source software. The following people have contributed to this plugin.


Translate BingMaps – Map Viewer into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.