內容簡介
這個外掛可以創建旅行地圖並標註路線和景點。
可以將景點或路線與文章或媒體附件相關聯。
要在文章中放置地圖,請使用短碼 [tm_map id=””],其中 id 是地圖 ID 或
要顯示的逗號分隔地圖 ID 列表。
短碼的其他參數包括:connectmaps=”true|false”,以按逗號分隔 ID 列表中指定的順序連接地圖,spinner=”true|false” 以禁用旋轉器以瀏覽標記,zoomlevel=”0-16″ 以設定初始縮放級別(0 為最小值,16 為最大值)
範例:
[tm_map id=”1″]
[tm_map id=”1,2″ connectmaps=”false”]
[tm_map id=”1,6,3″ spinner=”false” connectmaps=”true”]
插件使用 leaflet.js 和一些第三方庫來構建。
庫的許可證包含在本說明文件的附錄「第三方許可證」中。
如果您對這個插件有任何思想,或者您發現了一些錯誤,請讓我知道。我在這個插件的比較早期但穩定的階段提交它,以應對社區的改進和功能要求。
第三方許可證
Colorbox v1.5.9 – 2014-04-25
jQuery 实现的触屏设备友好的图片集插件
(c) 2014 Jack Moore – http://www.jacklmoore.com/colorbox
許可證:http://www.opensource.org/licenses/mit-license.php
Leaflet,一個適用於移動端的交互式地圖 JavaScript 库。http://leafletjs.com
(c) 2010-2013,Vladimir Agafonkin
(c) 2010-2011,CloudMade
許可證 BSD
Slimbox v2.05 – jQuery 的輕量級文本窗口插件
(c) 2007-2013 Christophe Beyls http://www.digitalia.be
MIT-style 許可證。
jQuery UI – v1.10.4 – 2014-04-02
包括:jquery.ui.core.js、jquery.ui.widget.js、jquery.ui.mouse.js、jquery.ui.position.js、jquery.ui.accordion.js、jquery.ui.autocomplete.js、jquery.ui.button.js、jquery.ui.datepicker.js、jquery.ui.dialog.js、jquery.ui.draggable.js、jquery.ui.droppable.js、jquery.ui.effect.js、jquery.ui.effect-blind.js、jquery.ui.effect-bounce.js、jquery.ui.effect-clip.js、jquery.ui.effect-drop.js、jquery.ui.effect-explode.js、jquery.ui.effect-fade.js、jquery.ui.effect-fold.js、jquery.ui.effect-highlight.js、jquery.ui.effect-pulsate.js、jquery.ui.effect-scale.js、jquery.ui.effect-shake.js、jquery.ui.effect-slide.js、jquery.ui.effect-transfer.js、jquery.ui.menu.js、jquery.ui.progressbar.js、jquery.ui.resizable.js、jquery.ui.selectable.js、jquery.ui.slider.js、jquery.ui.sortable.js、jquery.ui.spinner.js、jquery.ui.tabs.js、jquery.ui.tooltip.js
版權所有 2014 jQuery Foundation 和其他貢獻者;許可證 MIT
Leaflet.AwesomeMarkers
一個基於 Font Awesome 圖標的 Leaflet 插件,增加了彩色標記
(c) 2012-2013,Lennard Voogdt
許可證 MIT
http://leafletjs.com
https://github.com/lvoogdt
Leaflet.geodesic
(c) 2013 Fragger (Kevin Brasier)
許可證 BSD2
http://github.com/Fragger
Font Awesome 4.1.0 by @davegandy – http://fontawesome.io – @fontawesome
許可證 – http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT 許可證)
Spectrum Colorpicker v1.3.4
https://github.com/bgrins/spectrum
作者:Brian Grinstead
許可證:MIT
jquert-dateFormat 1.0.0
(c)2014 phstc
https://github.com/phstc/jquery-dateFormat
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows the creation of travel maps with routes and point of interests.
The points or route section can be linked with posts or media attachments.
To place the maps within posts use the shortcode [tm_map id=””] where id is either the map id or
a comma separated list of map ids to display.
Additional parameters for the shortcode are: connectmaps=”true|false” to connect the maps in the order
specified in the comma separated id list and spinner=”true|false” to disable the spinner to navigate
through markers, zoomlevel=”0-16″ to set the initial zoom level (0 min, 16 max level)
example:
[tm_map id=”1″]
[tm_map id=”1,2″ connectmaps=”false”]
[tm_map id=”1,6,3″ spinner=”false” connectmaps=”true”]
The Plugin is build with the help of leaflet.js and some 3rd party libraries. The
licenses of the libraries are in the appendix “3rd Party Licenses” within this readme.
If you have ideas for the plugin or if you found some bugs just let me know. I submitted this plugin
in a rather early but stable phase to react to improvements and feature requests from the community
3rd Party Licenses
Colorbox v1.5.9 – 2014-04-25
jQuery lightbox and modal window plugin
(c) 2014 Jack Moore – http://www.jacklmoore.com/colorbox
license: http://www.opensource.org/licenses/mit-license.php
Leaflet, a JavaScript library for mobile-friendly interactive maps. http://leafletjs.com
(c) 2010-2013, Vladimir Agafonkin
(c) 2010-2011, CloudMade
Licesed BSD
Slimbox v2.05 – The ultimate lightweight Lightbox clone for jQuery
(c) 2007-2013 Christophe Beyls http://www.digitalia.be
MIT-style license.
jQuery UI – v1.10.4 – 2014-04-02
Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
Copyright 2014 jQuery Foundation and other contributors; Licensed MIT
Leaflet.AwesomeMarkers
A plugin that adds colorful iconic markers for Leaflet, based on the Font Awesome icons
(c) 2012-2013, Lennard Voogdt Licensed MIT
http://leafletjs.com
https://github.com/lvoogdt
Leaflet.geodesic
(c) 2013 Fragger (Kevin Brasier) Licensed BSD2
http://github.com/Fragger
Font Awesome 4.1.0 by @davegandy – http://fontawesome.io – @fontawesome
License – http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
Spectrum Colorpicker v1.3.4
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
jquert-dateFormat 1.0.0
(c)2014 phstc
https://github.com/phstc/jquery-dateFormat
License: MIT & GPL
Map Icons Collection
Creative Commons 3.0 BY-SA
Author : Nicolas Mollet
http://mapicons.nicolasmollet.com/
