DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:cnmap

cnmap Plugin

Compatible with DokuWiki

Frusterick Manners

plugin Embed a China map in your wiki

Last updated on
2019-01-09
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to openlayersmap, simplemap

Tagged with maps

Installation

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

Examples/Usage

Embed a china map of a given latitude and longitude:

{{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=on&sat=off}}

Syntax

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 provider(engine) : can be 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

All config options can be set in the configuration manager under the “cnmap Plugin Settings” section.

Development

Change Log

Bug reports and feature requests

Please refer to the 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