-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathartesis_frontend.openlayers_maps.inc
89 lines (86 loc) · 2.69 KB
/
artesis_frontend.openlayers_maps.inc
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
/**
* @file
* artesis_frontend.openlayers_maps.inc
*/
/**
* Implements hook_openlayers_maps().
*/
function artesis_frontend_openlayers_maps() {
$export = array();
$openlayers_maps = new stdClass();
$openlayers_maps->disabled = FALSE; /* Edit this to true to make a default openlayers_maps disabled initially */
$openlayers_maps->api_version = 1;
$openlayers_maps->name = 'geofield_formatter_map_artesis';
$openlayers_maps->title = 'Geofield Formatter Map for Artesis';
$openlayers_maps->description = 'A Map Used for Geofield Output';
$openlayers_maps->data = array(
'width' => 'auto',
'height' => '400px',
'image_path' => 'profiles/artesis/modules/contrib/openlayers/themes/default_dark/img/',
'css_path' => 'profiles/artesis/modules/contrib/openlayers/themes/default_dark/style.css',
'proxy_host' => '',
'hide_empty_map' => 0,
'center' => array(
'initial' => array(
'centerpoint' => '11.392840591253, 55.785826598379',
'zoom' => '6',
),
'restrict' => array(
'restrictextent' => 0,
'restrictedExtent' => '',
),
),
'behaviors' => array(
'openlayers_behavior_keyboarddefaults' => array(),
'openlayers_behavior_navigation' => array(
'zoomWheelEnabled' => 0,
'zoomBoxEnabled' => 1,
'documentDrag' => 0,
),
'openlayers_behavior_panzoombar' => array(
'zoomWorldIcon' => 0,
'panIcons' => 1,
),
),
'default_layer' => 'mapquest_osm',
'layers' => array(
'mapquest_osm' => 'mapquest_osm',
'geofield_formatter' => 'geofield_formatter',
),
'layer_weight' => array(
'geofield_formatter' => '0',
'ding_library_openlayers_1' => '0',
'openlayers_geojson_picture_this' => '0',
),
'layer_styles' => array(
'openlayers_geojson_picture_this' => '0',
'ding_library_openlayers_1' => '0',
'geofield_formatter' => '0',
),
'layer_styles_select' => array(
'openlayers_geojson_picture_this' => '0',
'ding_library_openlayers_1' => '0',
'geofield_formatter' => '0',
),
'layer_activated' => array(
'geofield_formatter' => 'geofield_formatter',
'openlayers_geojson_picture_this' => 0,
'ding_library_openlayers_1' => 0,
),
'layer_switcher' => array(
'geofield_formatter' => 0,
'openlayers_geojson_picture_this' => 0,
'ding_library_openlayers_1' => 0,
),
'projection' => 'EPSG:900913',
'displayProjection' => 'EPSG:4326',
'styles' => array(
'default' => 'default',
'select' => 'default',
'temporary' => 'default',
),
);
$export['geofield_formatter_map_artesis'] = $openlayers_maps;
return $export;
}