Linux 软件免费装
Banner图

MapView for Bing Maps

开发者 Malcolm-OPH
更新时间 2023年8月10日 16:03
PHP版本: 3.0 及以上
WordPress版本: 5.7
版权: GPLv2 or later
版权网址: 版权信息

标签

pages paypal bing maps mapping routes ordnance survey OS walking

下载

0.2 0.3 1.0 1.2 0.1

详情介绍:

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

安装:

屏幕截图:

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

常见问题:

How do I set up MapView for Bing Maps?

  • Install the plugin and activate it
  • Go to https://www.bingmapsportal.com/ and sign up to get a free Microsoft Bing Maps Key
  • Open your Wordpress Dashboard
  • Go to the MapView for Bing Maps - Settings page and enter your Microsoft Bing Maps Key

How do I add a map to my site?

Add the shortcode (see below) 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: [YourPageURL]?myposn=51.477841,-0.001548&myzoom=14&mytype=ordnanceSurvey

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 Microsoft Bing Maps AJAX Control can be displayed. The map types available depends on the locale selected in the BingMaps settings. The Microsoft Bing Maps help page (http://msdn.microsoft.com/en-us/library/gg427625.aspx) lists all available map types.

更新日志:

1.2 1.1.1 1.1 1.0 0.4 0.3 0.2 0.1