geoext1
geoext1 copied to clipboard
popup-more example broken
When clicking the map, the popup is not anchored to the mouse position.
After fa884d3df06eef887b60074063b0f8b6891d5af1, the anchored
config options is set to false
is not valid location
is passed to the constructor option.
Expected behavior: http://api.geoext.org/1.1/examples/popup-more.html
@fredj should we just fix up the example by passing in location to the constructor?
diff --git a/examples/popup-more.js b/examples/popup-more.js
index 21f2a4f..160ffbf 100644
--- a/examples/popup-more.js
+++ b/examples/popup-more.js
@@ -23,6 +23,7 @@ Ext.onReady(function() {
popup = new GeoExt.Popup({
title: "Popup",
width: 200,
+ location: loc,
maximizable: true,
collapsible: true,
map: mapPanel.map,