Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ngOnInit() {
const loadingStrategy = new FeatureStoreLoadingStrategy({});
this.store.addStrategy(loadingStrategy);
const selectionStrategy = new FeatureStoreSelectionStrategy({
map: this.map,
motion: FeatureMotion.Default
});
this.store.addStrategy(selectionStrategy);
this.store.load([
{
meta: { id: 1 },
type: 'Feature',
geometry: {
type: 'Point',
coordinates: [-72, 47.8]
},