My leaflet map have 2 layers, one is base map, another is overlay map. The overlay layer is hidden when page loaded, but I wish it to be visible by default. What should I do?
Please forgive my poor English.Thank you for the help.
My leaflet map have 2 layers, one is base map, another is overlay map. The overlay layer is hidden when page loaded, but I wish it to be visible by default. What should I do?
Please forgive my poor English.Thank you for the help.
Comments
Comment #2
antims commentedComment #3
nicofnjnu commentedSame problem with me.
Comment #4
antims commentedSolved. Uncomment line 50[] in leaflet_markercluster.drupal.js if using leaflet markercluster module.
Comment #5
geodaniel commentedSimilarly if not using leaflet markercluster module, uncomment line 42 in leaflet.drupal.js