0.0.62 • Published 4 months ago
@big3dev/b3-gis-types v0.0.62
b3-gis-types
- Этот проект содержит типы для проекта b3-gis
- Предполагается использование в связке с lazy loading
import { init } from '@mm/b3-gis-types/dist/b3-gis';
type B3Gis = {
init: typeof init;
};
const b3GisLib = (window as unknown as any).b3Gis as B3Gis;
const b3Gis = b3GisLib.init(this.mapElement.nativeElement, {
controls: {
layerTree: true,
goToGis: true,
identification: true,
timeline: true,
toolbarButtons: [
'layerTree', //
'timeline',
'select',
'identification',
'measure-distance',
'measure-area',
'snapshot-for-report'
]
},
layerTreeVisible: false,
mapName: 'burov-operative-control',
backendUrl: 'https://gis.big3.ru/',
backendUser: 'admin',
backendPassword: 'adminpass',
onClick: (eventData: any) => {
window.console.log(eventData);
}
});
0.0.62
4 months ago