2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

YOLPでCenterMarkControlの表示/非表示のやり方

Last updated at Posted at 2015-06-30

Windows7でYOLP使って簡単な地図を表示するWEBページを作っています。
質問は、
ymap.addControl(new Y.CenterMarkControl({
  visibleButton: true,
  visible: true
}));
みたいにして地図に追加した地図中央の赤い四角いマークを、状況によって
表示・非表示を切り替えたいのですが、show/hideっていうメソッドが
あるのでしょうか?調べたのですが良く分かりません。
具体的なコードの記述方法をお教え下さい。

2
3
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?