1<?php
2
3/*
4 * Copyright (c) 2008-2017 Mark C. Prins <mprins@users.sf.net>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
18
19/**
20 * OL maps plugin, configuration metadata.
21 *
22 * @author Mark C. Prins
23 */
24
25$meta['enableOSM']                = array(
26    'onoff'
27);
28$meta['enableStadia']             = array(
29    'onoff'
30);
31$meta['enableGoogle']             = array(
32    'onoff'
33);
34$meta['googleAPIkey']             = array(
35    'string'
36);
37$meta['enableBing']               = array(
38    'onoff'
39);
40$meta['bingAPIKey']               = array(
41    'string'
42);
43$meta['tfApiKey']                 = array(
44    'string'
45);
46$meta['iconUrlOverload']          = array(
47    'string'
48);
49$meta['enableA11y']               = array(
50    'onoff'
51);
52$meta['optionStaticMapGenerator'] = array(
53    'multichoice', '_choices' => array('local', 'remote')
54);
55$meta['autoZoomMap']              = array(
56    'onoff'
57);
58$meta ['displayformat']           = array(
59    'multichoice', '_choices' => array('DD', 'DMS')
60);
61
62$meta ['default_width']         = array(
63    'string'
64);
65$meta ['default_height']        = array(
66    'string'
67);
68$meta ['default_zoom']          = array(
69    'string'
70);
71$meta ['default_autozoom']      = array(
72    'onoff'
73);
74$meta ['default_controls']      = array(
75    'onoff'
76);
77$meta ['default_kmlfile']       = array(
78    'string'
79);
80$meta ['default_gpxfile']       = array(
81    'string'
82);
83$meta ['default_geojsonfile']   = array(
84    'string'
85);
86