该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

LS Google Map Router

描述

You can set up ONE address to display on map. User can insert his / her location and route calculated via Google maps API will be shown on map with instructions on the left side of map. User’s location can be determined via HTML5 geolocation services.

If no route is calculated, map will span over the route info panel, so map will fill the whole area. However, you should set up info window width.

All non-Google texts are translatable via WordPress native translate features.

Usage example:

[gmap-route addr=”Vodikova 2, Praha” zoom=15 geo=”true” map_type=”ROADMAP” map_width=”500″ info_width=”200″ height=”400″ lang=”en”]

Parameters:

  • addr : address to display on map (single location)
  • zoom : default zoom level
  • geo : try to use HTML5 geolocation
  • map_type : type of map [ ROADMAP / SATELLITE / HYBRID / TERRAIN ]
  • map_width : width of map
  • info_width : width of route information (when no route is displayed, map will span over the info_width)
  • height : map height
  • lang : language of the embedded Google maps API… all Google text will be in this language.

安装

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Embed using shortcode

评价

此插件暂无评价。

贡献者及开发者

“LS Google Map Router” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“LS Google Map Router”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

initial release