Windows7でYOLP使って簡単な地図を表示するWEBページを作っています。
質問は、
ymap.addControl(new Y.CenterMarkControl({
visibleButton: true,
visible: true
}));
みたいにして地図に追加した地図中央の赤い四角いマークを、状況によって
表示・非表示を切り替えたいのですが、show/hideっていうメソッドが
あるのでしょうか?調べたのですが良く分かりません。
具体的なコードの記述方法をお教え下さい。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme