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
Same name and namespace in other branches
  1. 7 views/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/Plugin/views/style/ip_geoloc_plugin_style.inc, line 18
ip_geoloc_plugin_style.inc

Code

define('IP_GEOLOC_MAP_CENTER_ON_FIRST_LOCATION', 1);