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