DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:cnmap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:cnmap [2019-01-06 05:02] – [Examples/Usage] lshanplugin:cnmap [2019-01-12 09:27] lshan
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Embed a simple OpenStreetMap in your wiki+description: Embed a China map in your wiki
 author     : Lshan author     : Lshan
 email      : ldg@szzxue.com email      : ldg@szzxue.com
 type       : syntax type       : syntax
-lastupdate : 2019-01-04+lastupdate : 2019-01-09
 compatible : Frusterick Manners compatible : Frusterick Manners
 depends    :  depends    : 
Line 25: Line 25:
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  ===== Examples/Usage =====+===== Examples/Usage =====
  
 Embed a china map of a given latitude and longitude: Embed a china map of a given latitude and longitude:
  
   {{cnmap>?lng=116.397428&lat=39.90923}}   {{cnmap>?lng=116.397428&lat=39.90923}}
-  {{cnmap>amap?lng=116.397428&lat=39.90923&width=100%&height=500px&zoom=17&title=title of marker&mark=yes&sat=yes}} +  {{cnmap>amap?lng=116.397428&lat=39.90923&width=100%&height=500px&zoom=17&title=title of marker&mark=on&sat=off}} 
-  ===== Syntax =====+ 
 + 
 +===== Syntax =====
  
 Basic syntax: Basic syntax:
Line 38: Line 40:
  
   * replace:   * replace:
-    * //MAP PROVIDER // --- map render engine provider :  amap , bmap , default is amap+    * //MAP PROVIDER // --- map render provider(engine) :  can be amap , bmap , default is **amap**
     * //LATITUDE// --- the latitude in decimal degree     * //LATITUDE// --- the latitude in decimal degree
     * //LONGITUDE// --- the longitude in decimal degree     * //LONGITUDE// --- the longitude in decimal degree
-    * //ZOOM// --- zoom level(3-19) , default is 15 +    * //ZOOM// --- zoom level(3-19) , default is **15** 
-    * //WIDTH// -- width , can be xxpx , xx% , default is 100% +    * //WIDTH// -- width , can be xxpx , xx% , default is **100%** 
-    * //HEIGHT// -- height , can be xxpx , xx% , default is 400px +    * //HEIGHT// -- height , can be xxpx , xx% , default is **400px** 
-    * //MARK//  -- show/hide mark, default is on +    * //MARK//  -- show/hide mark, default is **on** 
-    * //title// --  title of the mark +    * //TITLE// --  title of the mark 
-    * //sat// -- show satellite map, default is off+    * //SAT// -- show satellite map, default is **off**
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
  
-//[also CSS style tips]// +All config options can be set in the [[config|configuration manager]under the "cnmap Plugin Settings" section. 
 ===== Development ===== ===== Development =====
- 
-//[downloadable blocks, development comments]// 
- 
 === Change Log === === Change Log ===
  
-//[preferable GitHub RSS feed or similar]// +  * [[https://github.com/lshan2018/dokuwiki-plugin-cnmap/commit/2d24e6e02353a9613cf1d9d05145938d8ef7cdcf|add navigation for amap & bmap]] (2019-01-09) 
- +  [[https://github.com/lshan2018/dokuwiki-plugin-cnmap/commit/2116b460257dd5e1fd8b10cc7539f58a04e30679|Initial release]] (2019-01-04) 
-  * **2009-01-01** +==== Bug reports and feature requests ====
-    Initial release +
- +
-=== Known Bugs and Issues === +
- +
-//[this section might not be needed in case of external bug manager, or use RSS feed]// +
- +
-=== ToDo/Wish List === +
- +
-//[developers roadmap]// +
- +
-===== FAQ ===== +
- +
-//[discussions should ideally be deleted and turned into FAQ entries along the way]// +
- +
-===== Discussion ===== +
- +
-//Could be placed on an external page (e.g. plugin:pluginname:discussion) to have a distinction between user comments and author docs//+
  
 +Please refer to the [[https://github.com/lshan2018/dokuwiki-plugin-cnmap/issues|Issue Tracker]] for reporting issues.
  
  
plugin/cnmap.txt · Last modified: 2019-01-12 13:38 by LarsDW223

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki