Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@dlr-eoc/services-map-state
Advanced tools
This module is an interface to handle zoom, center, extent and time of maps. The idea is similar to @dlr-eoc/services-layers.
The MapStateService
should be an interface to handle zoom
, center
, extent
, view angle
, rotation
and time
of maps.
The idea is similar to @dlr-eoc/services-layers
.
import { MapStateService } from '@dlr-eoc/services-map-state';
constructor(public mapStateSvc: MapStateService,...)
ngOnInit(){
this.mapStateSvc.setExtent([-14, 33, 40, 57]);
}
For examples see:
This module is used by components like:
It implements a basic 'state' for the map like:
for more details see map-state
===
This library was generated with Angular CLI version 8.2.14.
Run ng generate component component-name --project services-map-state
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project services-map-state
.
Note: Don't forget to add
--project services-map-state
or else it will be added to the default project in yourangular.json
file.
Run ng build services-map-state
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test services-map-state
to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
FAQs
This module is an interface to handle zoom, center, extent and time of maps. The idea is similar to @dlr-eoc/services-layers.
The npm package @dlr-eoc/services-map-state receives a total of 10 weekly downloads. As such, @dlr-eoc/services-map-state popularity was classified as not popular.
We found that @dlr-eoc/services-map-state demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.