Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

popup-more example broken #44

Open
fredj opened this issue May 1, 2012 · 1 comment
Open

popup-more example broken #44

fredj opened this issue May 1, 2012 · 1 comment

Comments

@fredj
Copy link
Member

fredj commented May 1, 2012

When clicking the map, the popup is not anchored to the mouse position.

After fa884d3, 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

@bartvde
Copy link
Member

bartvde commented Sep 11, 2012

@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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants