diff --git a/examples/BaseLayers.html b/examples/BaseLayers.html index be92269b42..6428110c7a 100644 --- a/examples/BaseLayers.html +++ b/examples/BaseLayers.html @@ -4,7 +4,7 @@ @@ -24,15 +24,7 @@ map.zoomToMaxExtent(); } - - function bar(e) { - alert("body"); - } - function foo(e) { - alert("yo"); - return true; - } - + function changer() { popup.setBackgroundColor("red"); popup.setSize(new OpenLayers.Size(100,600)); @@ -82,7 +74,6 @@ popup.setContentHTML("click me"); popup.setBackgroundColor("yellow"); popup.setOpacity(0.7); -// popup.events.register("mousedown", popup, onPopupMouseDown); markers.map.addPopup(popup); } else { markers.map.removePopup(popup); @@ -122,14 +113,12 @@
-
click to add Popup to map
+
click to add Popup to map
click to add a Marker with an AnchoredBubble popup
click to modify popup's attributes
click to remove the popup from map
click to remove the markers layer
-
marker.onscreen()?
-
- click me -
+
marker.onscreen()?
+
click to destroy the popup from map