WebMap Service
The WebMapService
enables communication with the BackEnd of a WebMap application.
Configuration
The WebMapService
should exist as a singleton instance inside the application. This service allows to specify a configuration when the default behavior wants to be modified.
To use a non-default configuration for this service you can use two methods:
Provide the
WEBMAP_CONFIG
InjectionToken in the root module with the configuration value. To learn more about Angular's dependency injection tokens check out the official documentation.Use the static function
provide(config: WebMapServiceConfig)
that is available from the service's class.
Below are the list of configuration options:
Configuration Object Example
Last updated