On a node I have link with a colorbox-node anchor link that points to another node with a leaflet map.
Clicking on the colorbox-node link for the first time, the colorbox fires up and displays the leaflet map. Since I am using the “Colorbox Node” module only the content region is shown in the overlay as expected.
Then I close the overlay and proceed to click the colorbox-node link again for the second time. The overlay opens up but the ajax loading icon runs and runs and the map never displays.
Other nodes without a leaflet map display just fine on repeated clicks of the colorbox-node link.
I would appreciate any advice on how to resolve this issue. Thanks in advance.
Sandro.
Attached are 2 images with the colorbox results of the 1st click and 2nd click.
Here are some of the specs:
Drupal 7.39
Colorbox plugin 1.6.4
Leaflet library 0.7.7
Colorbox-node: Version: 7.x-3.5
Leaflet Module: Version: 7.x-1.4
Leaflet Views Module: Version: 7.x-1.4
jQuery version 1.10
| Comment | File | Size | Author |
|---|---|---|---|
| Map-1stClick.jpg | 82.35 KB | TamboWeb | |
| Map-2ndClick.jpg | 17.88 KB | TamboWeb |
Comments
Comment #2
TamboWeb commentedMy appologies, I made the mistake of using an old version of the leaflet.js. Once I updated it to version 1.0.2 the leaflet maps load every time I click on the link.