Plugin / Bing Maps for WordPress

Rich Gubby

Frequently Asked Questions (FAQ)

Once you have the plugin installed, edit a post, and use a shortcode of [bingMap] to create a Bing Map on the page. If you just put [bingMap] on your page you’ll get something, but it centers the map on Timbuktu, so you might want to change some attributes: location – Specify where you want your map centered. Be as specific as you can, include the country code, an example would be “Birmingham, West Midlands, UK”. width – Define how wide you want your map to be. Default is 400px. height – Define how high you want your map to be. Default is 400px. title – Define a title for your map – displays above the map. locationtitle – Override location title (dynamic map only) locationlink – Set a URL for your title to link to (dynamic map only) type – “static”, or “dynamic”. If you leave it blank, it will default to dynamic. maptype – In static mode, options are: “Road”, “Aerial” and “AerialWithLabels”. In dynamic map mode, “Road”, “Aerial”, “AerialWithLabels” or “Birdseye”. Default is “Road”. zoom – Define the zoom level. the higher the more zoomed in. If you are in Birdseye mode, zoom is quite restricted. pp – Where to place a pushpin on your map. If you don’t include a pp attribute, the center of the map will be used. Turn it off by setting pp to “false”. pp* – Add pushpins to your map. Use pp1=””, pp2=”” and so on. Bear in mind there is a limit to the number of pushpins you can actually have. If you’re not in Birdseye mode, the map will automatically zoom out so all pushpins can display. ppt* – Set the pushpin title (dynamic map only) ppd* – Set the pushpin description (dynamic map only) ppl* – Set the pushpin link (dynamic map only) Here are a few examples: [bingMap location=”Birmingham, West Midlands, UK” maptype=”AerialWithLabels” zoom=”15″ description=”Center of Birmingham, UK”] [bingMap type=”static” location=”Mexico City, Mexico” zoom=”13″] [bingMap maptype=”birdseye” location=”Niagara Falls, Canada” width=”650″ height=”300″ pp=”false”] [bingMap location=”New York, USA” pp1=”Philadelphia, USA”]
Have you signed up for a Bing Maps API key? And have you entered it in the settings page? If not, follow these steps: Sign up for a Bing Maps API Key. Enter it in the “Bing Maps for WordPress” settings page – it’s under Settings in your WordPress Control Panel.
You have to go to the create/view keys section on the Bing Maps API signup – just create a key and enter your blog details.
At the moment, you can’t if you’re using a dynamic Bing map. But if you’re using a static map, add “;5″ (5 is the icon style) to the end of your pp attribute, so something like: pp=”Timbuktu;10” For a full list of all icon styles for pushpins, check out http://msdn.microsoft.com/en-us/library/ff701719.aspx
All of the content is in a
container with a class of “bingMapsForWordpressContainer”, the maps then sit inside a
with a class of “bingMapsForWordpress”, so the structure looks a bit like this:
Map Title ... map content is here ...
Reference any of these classes and IDs in your theme CSS and the maps will be styled – here is how to add a border to all your bing maps: .bingMapsForWordpress{border:solid 2px red;} And here is how to style just the title: .bingMapsForWordpressTitle{font-weight:bold;}

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

1.6

First Released

20 Jul, 2010

Total Downloads

9,628

Wordpress Version

3.0 or higher

Tested up to:

3.3.2

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.