diff --git a/package-lock.json b/package-lock.json index 081df459..16ebf0cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9233,6 +9233,11 @@ "loose-envify": "^1.0.0" } }, + "iotmapmanager": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/iotmapmanager/-/iotmapmanager-0.3.1.tgz", + "integrity": "sha512-eltBvACrjA633ikMx2P4u1prnr/O0+VZ5X4cnygcDb8TDzfsGHKTaVoBaeqf0/qO+3XcQ+quVpaHpVKEimD1MQ==" + }, "ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", diff --git a/package.json b/package.json index 0ca84ad8..4baa3bc3 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "@storybook/addon-knobs": "^6.1.0", "@types/leaflet": "^1.5.19", "@types/leaflet.markercluster": "^1.4.3", + "iotmapmanager": "^0.3.1", "leaflet": "^1.6.0", "leaflet.markercluster": "^1.4.1", "zone.js": "^0.11.3" diff --git a/src/map/map.component.ts b/src/map/map.component.ts index 23d17550..cc37ad8d 100644 --- a/src/map/map.component.ts +++ b/src/map/map.component.ts @@ -1,8 +1,8 @@ import {AfterViewInit, Component} from '@angular/core'; -import { IotMapManager } from '../iotMapManager/iotMapManager'; -import {IotCluster, IotMarker, IotUserMarker, markerType} from '../iotMapManager/iotMapManagerTypes'; -import { IotMapManagerConfig, Status } from '../iotMapManager/iotMapManagerConfig'; +import { IotMapManager } from 'iotmapmanager/iotMapManager'; +import {IotCluster, IotMarker, IotUserMarker, markerType} from 'iotmapmanager/iotMapManagerTypes'; +import { IotMapManagerConfig, Status } from 'iotmapmanager/iotMapManagerConfig'; @Component({ selector: 'map-component', diff --git a/src/styles.css b/src/styles.css index dd9196ce..4bb08f47 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,3 +1,3 @@ /* You can add global styles to this file, and also import other style files */ -@import './iotMapManager/iotMapManager.css'; +@import 'iotmapmanager/iotMapManager.css';