|
|
@@ -1,8 +1,9 @@
|
|
|
import { Injectable, OnInit } from '@angular/core';
|
|
|
|
|
|
-import { GeoJSON } from 'ol/format';
|
|
|
import { OSM, TileWMS, Vector as VectorSource } from 'ol/source';
|
|
|
import { Tile, Vector as VectorLayer } from 'ol/layer';
|
|
|
+import { View } from 'ol';
|
|
|
+import { transform } from 'ol/proj';
|
|
|
|
|
|
import {
|
|
|
HsConfig,
|
|
|
@@ -109,7 +110,7 @@ export class AppService {
|
|
|
info: false
|
|
|
},
|
|
|
componentsEnabled: {
|
|
|
- basemapGallery: true,
|
|
|
+ basemapGallery: false,
|
|
|
},
|
|
|
assetsPath: 'assets',
|
|
|
symbolizerIcons: [
|
|
|
@@ -187,6 +188,10 @@ export class AppService {
|
|
|
}),
|
|
|
}),*/
|
|
|
],
|
|
|
+ default_view: new View({
|
|
|
+ center: transform([17.5, 49.0], 'EPSG:4326', 'EPSG:3857'),
|
|
|
+ zoom: 9,
|
|
|
+ }),
|
|
|
sizeMode: 'container',
|
|
|
sidebarClosed: true,
|
|
|
sidebarPosition: 'left',
|