You are here

constant IP_GEOLOC_MAP_CENTER_ON_FIRST_LOCATION in IP Geolocation Views & Maps 8

Same name in this branch
  1. 8 src/Services/IpGeoLocViewsPluginStyle.php \Drupal\ip_geoloc\Services\IP_GEOLOC_MAP_CENTER_ON_FIRST_LOCATION
  2. 8 src/Plugin/views/style/ip_geoloc_plugin_style.inc \IP_GEOLOC_MAP_CENTER_ON_FIRST_LOCATION
5 uses of IP_GEOLOC_MAP_CENTER_ON_FIRST_LOCATION
IpGeoLocPluginStyleLeaflet::render in src/Plugin/views/style/IpGeoLocPluginStyleLeaflet.php
Transform the View result in a list of marker locations and render on map.
IpGeoLocPluginStyleMap::defineOptions in src/Plugin/views/style/IpGeoLocPluginStyleMap.php
Set default Leaflet options.
IpGeoLocPluginStyleMap::render in src/Plugin/views/style/IpGeoLocPluginStyleMap.php
Transform the View result in a list of markers and render these on a map.
IpGeoLocPluginStyleOpenLayers::defineOptions in src/Plugin/views/style/IpGeoLocPluginStyleOpenLayers.php
Set default Leaflet options.
IpGeoLocPluginStyleOpenLayers::render in src/Plugin/views/style/IpGeoLocPluginStyleOpenLayers.php
Transform the View result in a list of markers and render these on a map.

File

src/Services/IpGeoLocViewsPluginStyle.php, line 18

Namespace

Drupal\ip_geoloc\Services

Code

define('IP_GEOLOC_MAP_CENTER_ON_FIRST_LOCATION', 1);