function leaflet_geojson_map_pane_add_layer in Leaflet GeoJSON 7.2
Same name and namespace in other branches
- 8 leaflet_geojson.module \leaflet_geojson_map_pane_add_layer()
Helper function to add another views_geojson layer to the map data.
1 string reference to 'leaflet_geojson_map_pane_add_layer'
- leaflet_geojson_map_pane_edit_form in plugins/
content_types/ leaflet_geojson.map_pane.inc - Edit form for the pane's settings.
File
- plugins/
content_types/ leaflet_geojson.map_pane.inc, line 303
Code
function leaflet_geojson_map_pane_add_layer($form, &$form_state) {
// Increment the count and force a rebuild.
$form_state['layer_count']++;
$form_state['rebuild'] = TRUE;
}