mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Designate GoogleMaps layers as "base" layers. See https://www.drupal.org/node/2543130
This commit is contained in:
parent
a05e12f8af
commit
80b698d314
1 changed files with 15 additions and 0 deletions
|
@ -21,6 +21,11 @@ function farm_map_default_openlayers_layers() {
|
|||
'source' => 'farm_map_source_google_hybrid',
|
||||
'visible' => 1,
|
||||
'opacity' => 1,
|
||||
/**
|
||||
* @todo
|
||||
* https://www.drupal.org/node/2543130
|
||||
*/
|
||||
'type' => 'base',
|
||||
);
|
||||
$export['farm_map_layer_google_hybrid'] = $ol_layer;
|
||||
|
||||
|
@ -35,6 +40,11 @@ function farm_map_default_openlayers_layers() {
|
|||
'source' => 'farm_map_source_google_satellite',
|
||||
'visible' => 1,
|
||||
'opacity' => 1,
|
||||
/**
|
||||
* @todo
|
||||
* https://www.drupal.org/node/2543130
|
||||
*/
|
||||
'type' => 'base',
|
||||
);
|
||||
$export['farm_map_layer_google_satellite'] = $ol_layer;
|
||||
|
||||
|
@ -49,6 +59,11 @@ function farm_map_default_openlayers_layers() {
|
|||
'source' => 'farm_map_source_google_terrain',
|
||||
'visible' => 1,
|
||||
'opacity' => 1,
|
||||
/**
|
||||
* @todo
|
||||
* https://www.drupal.org/node/2543130
|
||||
*/
|
||||
'type' => 'base',
|
||||
);
|
||||
$export['farm_map_layer_google_terrain'] = $ol_layer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue