Module:Mapdraw/doc
Jump to navigation
Jump to search
Mapdraw
[edit]- Initial BETA Module to draw circle
- See Module Talk page
Function | Arguments | Argument Description |
---|---|---|
p.circle | (maplink or mapframe output can be very large) - built from a circle center point | |
lat | Required latitude (see id below) - ie. lat=27.0 | |
long | Required longitude (see id below) - ie. long=28.0 | |
id | Wikidata ID to look up coordinates instead of using lat and long parameters | |
type | "line" or "poly" default is "line" | |
group | group name to be used as "show" argument in <mapframe> - default is "circle" | |
title | title to be used in <maplink> -- default is "A circle" | |
desc | description default is "" | |
radius | radius of a circle. - default is .5, MAX set at 10 -- and can not be less than or equal to 0 -- .00010 is about 40 meters, 3 is about 50 km | |
fill | default set to #ccef64 if missing | |
stroke | default set to #0000ff | |
mapframe | To create a mapframe insted of a maplink - use mapframe=y or mapframe=yes | |
marker | y or yes - create a marker - at input lat long | |
{{safesubst:#invoke:Mapdraw|circle|lat=22.35|long=70.07|type=poly|radius=10|fill=#000000|stroke=#0000cc}} | ||