---
AutoSizePopup = OpenLayers.Class(OpenLayers.Popup.Anchored, {
---

closeBox をつけるには次のようにします。
---
function mousedown(evt) {
if (popup == null) {
popup = feature.createPopup(true); // 修正
map.addPopup(popup);
} else {
popup.toggle();
}
OpenLayers.Event.stop(evt);
}
---

0 件のコメント:
コメントを投稿