- π¬π§United Kingdom stephen-cox
This is fixed in the latest 2.x release.
Automatically closed - issue fixed for 2 weeks with no activity.
I have tested this module with the most recent versions of leaflet module (first with leaflet 8.x-1.0-beta16 and then 8.x-1.0-beta18) and found that it is not compatible: it generates fatal errors in the functions LeafletCountryFormatter::settingsForm() and LeafletCountryFormatter::viewElements(). In debugger I found the following bugs:
1. The line $elements['zoom']['#options'] += array('auto' => 'Auto') in settingsForm(() generates fatal error because there is no $elements['zoom']['#options'] anymore in the $elements array.
2. The call leaflet_render_map() in viewElements() generates fatal error because there is no such function anymore in leaflet module.
3. To show the map properly after fixing the 1. and 2. I had to change the code that gets the zoom parameters from the settings: instead of $settings['zoom'] it has to be $settings["map_position"]["zoom"] and similar ones for minZoom and maxZoom.
I have it functional now after the fixes, so I will create a patch and post it here in the thread.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This is fixed in the latest 2.x release.
Automatically closed - issue fixed for 2 weeks with no activity.