Documentation

OpenStreetMap
in package

Configuration file: Config\Modules\OpenStreetMap.

Table of Contents

$ALLOW_MODULES  : mixed
Allow modules
$coordinatesServer  : mixed
Name of connector to get coordinates.
$coordinatesServers  : mixed
List of available coordinate servers, free list of servers is available on page https://wiki.openstreetmap.org/wiki/Search_engines Value: 'server name' => ['driverName' => 'Nominatim', 'apiUrl' => 'https://nominatim.openstreetmap.org', 'docUrl' => 'https://wiki.openstreetmap.org/wiki/Nominatim']
$CRON_MAX_UPDATED_ADDRESSES  : mixed
Max number to update addresses
$FIELDS_IN_POPUP  : mixed
List of fields to appear in POP-UP
$routingServer  : mixed
Name of connector to get routing.
$routingServers  : mixed
List of available routing servers, free list of servers is available on page https://wiki.openstreetmap.org/wiki/Routing/online_routers Value: 'server name' => ['driverName' => 'xxx', 'apiUrl' => 'https://xxx.org', 'docUrl' => 'https://xxx', 'params' => []]
$tileLayerServer  : mixed
Tile layer url template, url used to load and display tile layers on the map.
$tileLayerServers  : mixed
List of available Tile layer servers, free list of servers is available on page https://wiki.openstreetmap.org/wiki/Tile_servers Value: 'server name' => 'Tile layer url template'

Properties

$ALLOW_MODULES

Allow modules

public static mixed $ALLOW_MODULES = ['Accounts', 'Contacts', 'Competition', 'Vendors', 'Partners', 'Leads', 'Locations']

$coordinatesServer

Name of connector to get coordinates.

public static mixed $coordinatesServer = 'YetiForce'

$coordinatesServers

List of available coordinate servers, free list of servers is available on page https://wiki.openstreetmap.org/wiki/Search_engines Value: 'server name' => ['driverName' => 'Nominatim', 'apiUrl' => 'https://nominatim.openstreetmap.org', 'docUrl' => 'https://wiki.openstreetmap.org/wiki/Nominatim']

public static mixed $coordinatesServers = ['YetiForce' => ['driverName' => 'YetiForce', 'apiUrl' => 'YetiForce']]

$CRON_MAX_UPDATED_ADDRESSES

Max number to update addresses

public static mixed $CRON_MAX_UPDATED_ADDRESSES = 1000

$FIELDS_IN_POPUP

List of fields to appear in POP-UP

public static mixed $FIELDS_IN_POPUP = ['Accounts' => ['accountname', 'email1', 'phone'], 'Leads' => ['company', 'firstname', 'lastname', 'email'], 'Partners' => ['subject', 'email'], 'Competition' => ['subject', 'email'], 'Vendors' => ['vendorname', 'email', 'website'], 'Contacts' => ['firstname', 'lastname', 'email', 'phone'], 'Locations' => ['subject', 'email']]

$routingServer

Name of connector to get routing.

public static mixed $routingServer = 'YetiForce'

$routingServers

List of available routing servers, free list of servers is available on page https://wiki.openstreetmap.org/wiki/Routing/online_routers Value: 'server name' => ['driverName' => 'xxx', 'apiUrl' => 'https://xxx.org', 'docUrl' => 'https://xxx', 'params' => []]

public static mixed $routingServers = ['YetiForce' => ['driverName' => 'YetiForce', 'apiUrl' => 'YetiForce', 'params' => ['preference' => 'fastest', 'profile' => 'driving-car', 'units' => 'km']]]

$tileLayerServer

Tile layer url template, url used to load and display tile layers on the map.

public static mixed $tileLayerServer = 'YetiForce'

$tileLayerServers

List of available Tile layer servers, free list of servers is available on page https://wiki.openstreetmap.org/wiki/Tile_servers Value: 'server name' => 'Tile layer url template'

public static mixed $tileLayerServers = ['YetiForce' => 'YetiForce']

        

Search results