infusion-code / angular-maps

Angular Maps (X-Map) is a set of components and services to provide map functionality in angular 2+ apps. X-Maps architecture is provider independent and can be used with Bing, Google, ESRI or any other service enabled mapping provider. X-Map contains a default implementation for Bing Maps.
MIT License
41 stars 34 forks source link

Help use BingMapService #121

Open frsab opened 4 years ago

frsab commented 4 years ago

how to use BingMapService in an application, more exactly, how can you explicitly use the method this.mapService.GetCenter () or LocationToPoint

ElesGergo commented 4 years ago

Hy

1.Wait for the (MapService)="_processMapService($event)" event to emit from the map, so the service is initialised

  1. You can call the mentioned fuction on the service which was emitted