There's a typo in the code-snippet that is meant to prevent re-initialisation of an already initialised Leaflet map.
As a result the code-snippet does not function as intended with obscure side-effects.

One-line patch to fix this attached. Committed to 7.x-1.x-dev

CommentFileSizeAuthor
typo.diff499 bytesRdeBoer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RdeBoer created an issue. See original summary.

RdeBoer’s picture

  • RdeBoer committed e622697 on 7.x-1.x
    [#2841942] Fix for typo that prevents re-init of map
    
RdeBoer’s picture

Leaflet module has the same typo, I think.

RdeBoer’s picture

Status: Needs review » Fixed

Also fixed in Leaflet 7.x-1.x-dev

Status: Fixed » Closed (fixed)

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