This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
playground:playground [2012/03/03 20:55] nogajun |
playground:playground [2016/02/25 23:02] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
- | |||
- | ===== 地図貼り付けテスト ===== | ||
- | |||
- | ==== OSMプラグイン ==== | ||
- | |||
- | * [[http://www.dokuwiki.org/plugin:osm|plugin:osm [DokuWiki]]] | ||
- | |||
- | === 例 === | ||
- | |||
- | <code> | ||
- | <osm width="500" height="500" lat="34.7029" lon="135.49565" zoom="16" layers="Q"> | ||
- | 34.7029,135.49565,大阪駅 | ||
- | </osm> | ||
- | </code> | ||
- | |||
- | <osm width="500" height="500" lat="34.7029" lon="135.49565" zoom="16" layers="Q"> | ||
- | 34.7029,135.49565,大阪駅 | ||
- | </osm> | ||
- | |||
- | === 書式 === | ||
- | |||
- | <code> | ||
- | <osm parameter="value" parameter="value"> | ||
- | lat,lon,text | ||
- | lat,lon,text | ||
- | </osm> | ||
- | </code> | ||
- | |||
- | === パラメータ === | ||
- | |||
- | width — 999px (e.g. 500px) width of the map, default is 400px. | ||
- | height — 999px (e.g. 500px) height of the map, default is 300px. | ||
- | lat — values: -90.0 - 90.0; latitude of map centre, negative values are south. | ||
- | lon — values: -180.0 - 180.0; longitude of map centre, negative values are west. | ||
- | zoom — integer, zoom level, default value 8. Valid values are between 0 and 18 (note: as the static image uses the osmarender-renderer the static image only supports zoom level 17). | ||
- | layer — values: osmarender, maplint, mapnik. Default is mapnik. Specifies the OpenStreetMap-Renderer to be used. | ||
- | |||