Skip to content

Commit

Permalink
Bing maps provider set initial zoom levels (#4727)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddrury authored and fisharebest committed Jan 16, 2023
1 parent 098decb commit 75c3c03
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/Module/BingMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,30 +127,40 @@ public function leafletJsTileLayers(): array
'default' => false,
'imagerySet' => 'Aerial',
'label' => 'Aerial',
'maxZoom' => 15,
'minZoom' => 2,
],
(object) [
'bingMapsKey' => $api_key,
'default' => false,
'imagerySet' => 'CanvasDark',
'label' => 'Dark',
'maxZoom' => 15,
'minZoom' => 2,
],
(object) [
'bingMapsKey' => $api_key,
'default' => false,
'imagerySet' => 'CanvasGray',
'label' => 'Grey',
'maxZoom' => 15,
'minZoom' => 2,
],
(object) [
'bingMapsKey' => $api_key,
'default' => true,
'imagerySet' => 'CanvasLight',
'label' => 'Light',
'maxZoom' => 15,
'minZoom' => 2,
],
(object) [
'bingMapsKey' => $api_key,
'default' => false,
'imagerySet' => 'Road',
'label' => 'Road',
'maxZoom' => 15,
'minZoom' => 2,
],
];
}
Expand Down

0 comments on commit 75c3c03

Please sign in to comment.