Layers don't work since mapids have been added to leaflet.drupal.js
The issue appears to be the add_overlay function which attempts to add the layer through the layer control as opposed to the map.
Additionally, a call is made to add_overlay without a mapid which throws a separate error.
The attached patch attempts to resolve this and works for my use cases.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | layers-not-working-3096977-2.patch | 959 bytes | danwonac |
Comments
Comment #2
danwonac commentedComment #4
itamair commentedthanks @danwonac ... added to dev, will be part of the next release.
Comment #5
itamair commented