-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.php
33 lines (32 loc) · 1.15 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
Kirby::plugin('sylvainjule/locator', array(
'options' => array(
'token' => '',
'id' => 'mapbox.outdoors',
'tiles' => 'positron',
'geocoding' => 'nominatim',
'display' => array('lat','lon','number','address','postcode','city', 'region', 'country', 'countryCode'),
'draggable' => true,
'autocomplete' => true,
'zoom.min' => 2,
'zoom.default' => 12,
'zoom.max' => 18,
'center.lat' => 48.864716,
'center.lon' => 2.349014,
'liststyle' => 'table',
'marker' => 'dark',
'saveZoom' => false,
'autoSaveZoom' => false,
'language' => false,
'dblclick' => 'zoom',
),
'fields' => require_once __DIR__ . '/lib/fields.php',
'fieldMethods' => require_once __DIR__ . '/lib/fieldMethods.php',
'translations' => array(
'de' => require_once __DIR__ . '/lib/languages/de.php',
'en' => require_once __DIR__ . '/lib/languages/en.php',
'fr' => require_once __DIR__ . '/lib/languages/fr.php',
'pl' => require_once __DIR__ . '/lib/languages/pl.php',
'tr' => require_once __DIR__ . '/lib/languages/tr.php',
),
));