The leaflet module has in the JS the following line.
this.lMap.zoomControl.setPosition(this.map_settings.zoomControlPosition);
@see https://git.drupalcode.org/project/leaflet/-/commit/da156a034eb7a72ae0da...
In combination with the Leaflet Maptiler → module which add a token to inject a map in WYWIWIG fields we get a JS error
Uncaught TypeError: i.indexOf is not a function
at e.addTo (Control.js:76:11)
at e.addControl (Control.js:137:11)
at e.setPosition (Control.js:52:8)
at Drupal.Leaflet.initialise (leaflet.drupal.js?t6p9pv:279:29)Make it possible to define the zoomControlPosition setting to the mapBundle entities.
Active
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.