I have polygon and multipolygon data in Geojson format and when I try to bind popup for polygon, it works perfectly, and when I try to bind it for multipolygon, it doesn't work.

Is that some Leaflet bug and how can I solve this?



1 Answer 1


It appears this is an open bug. See leaflet.js issue 1319.

  • This example seems to have multipolygons with popups. Maybe try reworking your code in this way.
    – Taylor H.
    Feb 18, 2013 at 15:32
  • I tried, but when I have if functions there's no way to succeed for more than 9 polygons.. It's a bug, obviously. Feb 18, 2013 at 21:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.