You are here

function leaflet_geojson_theme in Leaflet GeoJSON 8

Implements hook_theme().

File

./leaflet_geojson.module, line 17
API Extension for using Leaflet with GeoJSON.

Code

function leaflet_geojson_theme() {
  return [
    'leafletgeojson_map' => [
      'variables' => [
        'map_id' => NULL,
        'height' => '400px',
      ],
    ],
  ];
}