Widget:Map_floors

ページ名:Widget:Map_floors

目次

Yet another API driven map widget[]

(description coming soon™)

Parameters[]

Common[]

langdisplay/API language (0=de, 1=en, 2=es, 3=fr, 4=zh), default: 1controls(bool), toggles the map controls, default: 0zoom(int), sets the initial zoom level for the map, default: 3center_coords(2 comma separated, positive integers), sets the initial center position for the map (optional)

Map selection[]

continent_idAPI ID of the continent (1=Tyria, 2=The Mists), default: 1floor_idfloor ID to use, default: 1region_idregion ID (optional)map_idID of the map, only in conjunction with region_id (optional)

Misc[]

polylinecollection of coordinates to draw a path (tba)markerscollection of coordinates to set markers (tba)

Example[]

Template code[]

{{#Widget:Map floors|region_id=4|map_id=15|zoom=3}}

Generated HTML[]

Live[]

https://cdn.rawgit.com/GW2Wiki/widget-map-floors/master/examples/example.html

Used subpages[]

Known problems[]

Please don't bother me about these:

Icons make zone names hard to read.And that is good the way it is. It'd be possible to "lift" the text on top via the z-index css property but it would defeat the purpose of the icons by making them unclickable.I only see a part of the map although it would fit the container as a whole on a lower zoom level.Getting the right zoom level is a very tricky task. leaflet.js sets it automatically from the given viewport/container size and the bounding box of the map (usually continent_rect) on a zoom level as high as possible. Since the maps are all different in size, it's impossible to just set zoom level X.Some lines of the sector boundaries are crossing.This is completely API/game data related. Rounding errors, careless mappers etc. Please complain to Anet, not me, about this.I don't see a map. Like... not at all.Do you have an adblocker or scriptblocker enabled? If so, disable it for the wiki and the following domains:
  • https://d1h9a8s8eodvjz.cloudfront.net/ (arenanet assets)
  • https://cdn.rawgit.com/ (github includes)
  • https://cdnjs.cloudflare.com/ (leaflet)

API issues affecting the map[]

  • https://github.com/arenanet/api-cdi/issues/342
  • https://github.com/arenanet/api-cdi/issues/308
  • https://github.com/arenanet/api-cdi/issues/304

de:Widget:Karte v2



特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。

シェアボタン: このページをSNSに投稿するのに便利です。


最近更新されたページ

左メニュー

左メニューサンプル左メニューはヘッダーメニューの【編集】>【左メニューを編集する】をクリックすると編集できます。ご自由に編集してください。掲示板雑談・質問・相談掲示板更新履歴最近のコメントカウン...

記事の書き方

このWikiでは主に公式Wikiの記事を翻訳したものを記事にしています(そうでない完全オリジナルな記事もあります)。そこで、公式Wikiの記事を訳して記事にする方法を簡単に説明します。公式Wikiの記...

用語集

(このページにはまだ内容がありません)特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...

殲滅_【SM】

[]画像をアップロードしてくださいギルマスワールド活動範囲活動時間IRCVCサイト“— ギルド紹介文目次1 構成メンバー2 ギルドの活動2.1 ワールド2.2 活動範囲2.3 活動時間2.4 コミュニ...

不審なアカウント

確実に怪しいアカウントのみリストに入れてください。(荒らしを確認したもの等)ブロックは慎重に行ってください。ブロックしたらwikia全体でのブロック対象となりますブロックリスト利用者:Yancn (ブ...

メインページ/theme

Wikiテーマ用画像[]このページでは、Wikiのテーマとして使われる画像がSpecial:UnusedImagesに表示されないようにしています。Wiki-wordmarkFile:Wiki-wor...

ツール

このウィキを利用するのに便利なツールなどです。特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...

ゲームガイド

ゲームを始めるまでゲームを始めたらゲームの概要ゲームのFAQコマンドライン特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...

ゲームを始めるまで

ゲームガイド > ゲームを始めるまで目次1 スペックを確認2 ゲームを購入2.1 公式サイトからの購入とアカウントの登録方法3 ゲームクライアントをダウンロードスペックを確認[]自分のパソコンでGui...

ゲームを始めたら

ゲームガイド > ゲームを始めたら目次1 ワールドを決める2 キャラクターを作成3 チュートリアル4 sPvPに参加する5 WvWに参加する5.1 WvW (ワールド戦) への参戦方法は3つ6 ゲーム...

ゲームの概要

ゲームガイド > ゲームの概要Guild Wars 2 がどんなゲームでどんなことが出来るのかを箇条書きにしています。Wiki内に項目がある用語にはリンクが貼ってありますので、用語の詳細はそちらを読ん...

ゲームのFAQ

ゲームに関してのよくある質問です。目次1 ゲーム全般1.1 PvEとPvPとWvWってどうちがうの?2 アカウント保管庫2.1 Bankはどこにありますか?2.2 収集品がインベントリを圧迫して困るん...

ギルド登録/登録ギルド一覧

登録用のテンプレート[]登録の仕方[]右上にある「編集」をクリックして編集画面を開いてください。{{ギルド登録 バージョン2から}}までをコピーして、この記事の一番下の|}の上に貼り付けて書き込んでく...

ギルドウォーズ2_日本語版_Wiki

非公式の Guild Wars 2 ウィキへようこそ。ウィキは、プレイヤーによって作成され、管理されている包括的なリファレンスです。現在のリリース:全か、無かリビングワールドシーズン4の第5話が始まり...