User Tools

Site Tools


playground:playground

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
playground:playground [2012/03/03 21:13]
nogajun
playground:playground [2012/06/26 10:24]
127.0.0.1 外部編集
Line 1: Line 1:
 ====== PlayGround ====== ====== PlayGround ======
- 
-===== 地図貼り付けテスト ===== 
- 
-==== OSMプラグイン ==== 
- 
-  * [[http://​www.dokuwiki.org/​plugin:​osm|plugin:​osm [DokuWiki]]] 
- 
-=== 書式 === 
- 
-<​code>​ 
-<osm parameter="​value"​ parameter="​value">​ 
-lat,​lon,​text 
-lat,​lon,​text 
-</​osm>​ 
-</​code>​ 
- 
-"​lat,​lon,​text"​は、個々のオーバーレイマーカーを表しています。各マーカーは独自のラインを持っており、その行の情報のみでなければなりません。 
- 
-"​lat"​と"​lon"​はマーカーの緯度と経度です。 
-"​text"​はマーカーをクリックするとポップアップで表示されるテキストです。テキストはwikiマークアップを含めることができます。 
- 
-=== パラメータ === 
- 
-  * width — 999px (例 500px) 地図の幅,​ デフォルトは400px. 
-  * height — 999px (例 500px) 地図の高さ,​ デフォルトは300px. 
-  * lat — 値: -90.0 - 90.0; 地図の中心の緯度,​ 負の値は南になる. 
-  * lon — 値: -180.0 - 180.0; 地図の中心の経度,​ 負の値は西になる. 
-  * zoom —整数, ズームレベル,​ デフォルトは8。有効な値は0〜18 
-  * layer — 値: osmarender, maplint, mapnik. デフォルトはmapnik. 
- 
-=== 例 === 
- 
-<​code>​ 
-<osm width="​500"​ height="​500"​ lat="​34.7029"​ lon="​135.49565"​ zoom="​16"​ layer="​osmarender">​ 
-34.7029,​135.49565,​大阪駅 
-</​osm>​ 
-</​code>​ 
- 
-<osm width="​500"​ height="​500"​ lat="​34.7029"​ lon="​135.49565"​ zoom="​16"​ layer="​mapnik">​ 
-34.7029,​135.49565,​大阪駅 
-</​osm>​ 
  
playground/playground.txt · Last modified: 2018/05/03 15:39 (external edit)