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.

CommentFileSizeAuthor
#2 layers-not-working-3096977-2.patch959 bytesdanwonac

Comments

danwonac created an issue. See original summary.

danwonac’s picture

Issue summary: View changes
StatusFileSize
new959 bytes

itamair’s picture

thanks @danwonac ... added to dev, will be part of the next release.

itamair’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.