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

multipolygon behaviour and popups #1319

Closed
MFuglsang opened this issue Jan 27, 2013 · 2 comments
Closed

multipolygon behaviour and popups #1319

MFuglsang opened this issue Jan 27, 2013 · 2 comments
Assignees
Labels
Milestone

Comments

@MFuglsang
Copy link

I am experiencing a problem with geojason layers with single and multipart polygons

I have made a jsfiddel to illustrate the problem :

http://jsfiddle.net/MFuglsang/eaj6h/

Description of the issue:

I am putting a AmCharts graph in a popup using an iframe. For now, the same graph is used for all municipalities - but later it is the idea that there shall be indivdual graphs.
When you click a municipality a popup is launched with the graph, but for some of the municipalities the popup is adjustet according to the width, and for others it is not - putting the iframe outside the popup boarder...

The municipalities which are singlepart polygons work correct, the ones that are multipolygon does not... ??

I have tried with properties max and minwidth for the popup with no results

Can anybody point out what i am doing wrong ? (Or describe the behaviour and logic causing this ? :-)

@ghost ghost assigned mourner Apr 19, 2013
@mourner
Copy link
Member

mourner commented Apr 19, 2013

Sorry for a late reply, will check this out. Weird.

@mourner
Copy link
Member

mourner commented Apr 23, 2013

I've updated the JSFiddle to use the latest Leaflet stable (0.5.1) and everything works with this version, so this bug was apparently fixed. http://jsfiddle.net/eaj6h/11/

@mourner mourner closed this as completed Apr 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants