function ip_geoloc_ctools_plugin_api in IP Geolocation Views & Maps 7
Same name and namespace in other branches
- 8 ip_geoloc.openlayers.inc \ip_geoloc_ctools_plugin_api()
Implements hook_ctools_plugin_api().
Required to add a layer to OpenLayers, see ip_geoloc_openlayers_layers().
File
- ./
ip_geoloc.module, line 54 - IPGV&M is a mapping engine for Views that contain locations of entities and/or visitors. Google Maps, Leaflet and OpenLayers2 maps are all supported. and available through this module. Using a number of optional sources IPGV&M also retrieves…
Code
function ip_geoloc_ctools_plugin_api($module, $api) {
if ($module == 'context') {
return array(
'version' => 3,
);
}
if ($module == 'openlayers' && $api == 'openlayers_layers') {
return array(
'version' => 1,
);
}
}