MapsManagerService
.
This service is a singleton that allow you to get the ac-map
anywhere in your app.
With the map component you can receive cesium viewer
or any other util service that was created by ac-map
.get(mapId?: string)
mapId
not provided then the first map is returned, for use cases when you have only one ac-map instance ac-map
component, so each map has it own CesiumService
instance. Therefore can only be injected to components under the <ac-map/>
hierarchy.