Allow multiple MapBox maps

Created on 21 June 2014, almost 11 years ago
Updated 5 May 2025, 12 days ago

Hi Jaime,
I'm providing a patch to your lovely module so that users can have multiple Mapbox maps wired into their Drupal site(s).

This patch
o remembers an existing Mapbox configuration, copying it into the new storage structure
o clears the relevant cache upon saving a new Mapbox configuration, so that the map immediately shows up in the map drop-down in the Leaflet or IP Geolocation Views & Maps modules
o fixes issue #2269315: Leaflet MapBox will produce issues on an HTTPS site β†’
o allows unlimited number of Mapbox configurations to be added and removed
o works with or without Leaflet More Maps

There are a few code changes. Probably easiest to just overwrite the old code with the new.

Cheers,
Rik

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia rdeboer Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024