It's better when it's simple

User Tools

Site Tools


This is an old revision of the document!

cnmap Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Embed a china map in your wiki

Last updated on

Similar to openlayersmap, simplemap

Tagged with maps

By Lshan


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


Embed a china map of a given latitude and longitude:

{{cnmap>amap?lng=116.397428&lat=39.90923&width=100%&height=500px&zoom=17&title=title of marker&mark=yes&sat=yes}}


Basic syntax:

{{cnmap>MAP PROVIDER?lat=LATITUDE&long=LONGITUDE&zoom=ZOOM&width=WIDTH&height=HEIGHT&mark=MARK&title=TITLE&sat=SAT}}
  • replace:
    • MAP PROVIDER — map render engine provider : amap , bmap , default is amap
    • LATITUDE — the latitude in decimal degree
    • LONGITUDE — the longitude in decimal degree
    • ZOOM — zoom level(3-19) , default is 15
    • WIDTH – width , can be xxpx , xx% , default is 100%
    • HEIGHT – height , can be xxpx , xx% , default is 400px
    • MARK – show/hide mark, default is on
    • title – title of the mark
    • sat – show satellite map, default is off

Configuration and Settings

[also CSS style tips]


[downloadable blocks, development comments]

Change Log

[preferable GitHub RSS feed or similar]

  • 2009-01-01
    • 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]


[discussions should ideally be deleted and turned into FAQ entries along the way]


Could be placed on an external page (e.g. plugin:pluginname:discussion) to have a distinction between user comments and author docs

plugin/cnmap.1546747466.txt.gz · Last modified: 2019-01-06 05:04 by lshan

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