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:56] nogajun |
playground:playground [2013/12/16 01:02] nogajun |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
- | ===== 地図貼り付けテスト ===== | + | 書き込みテストにお使いください。 |
- | ==== OSMプラグイン ==== | + | ===== 定義型リスト ===== |
- | * [[http://www.dokuwiki.org/plugin:osm|plugin:osm [DokuWiki]]] | + | ; term : definition |
+ | ; term | ||
+ | : definition | ||
- | === 書式 === | + | ===== OpenLayer ===== |
- | <code> | + | * plugin:openlayersmap [DokuWiki]: https://www.dokuwiki.org/plugin:openlayersmap |
- | <osm parameter="value" parameter="value"> | + | |
- | lat,lon,text | + | |
- | lat,lon,text | + | |
- | </osm> | + | |
- | </code> | + | |
- | === パラメータ === | + | <olmap id="olMap" width="640px" height="480px" lat="34.7022" lon="135.4954" zoom="17" controls="1" poihoverstyle="1"> |
+ | 34.7022,135.4954,0,0,marker.png,マーカーのテスト | ||
+ | </olmap> | ||
- | 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. | ||
- | |||
- | === 例 === | ||
- | |||
- | <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> | ||