Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

434
Views
¿Cuál es el significado de este error (indefinido getCameraForLocationToPoint) y cómo solucionarlo?

Este es un error que no entiendo TypeError: Cannot read properties of undefined (reading 'getCameraForLocationToPoint')

Recibí este error cuando intento crear un Bingmap para mi proyecto angular

.TS

 let loc = new Microsoft.Maps.Location(Latitude,Longitude); this.map.setView({ center: { latitude: loc.latitude, longitude: loc.longitude }}); this.map.setView({ mapTypeId: Microsoft.Maps.MapTypeId.streetside }); Microsoft.Maps.Events.addHandler(this.map, 'viewchangeend', () => { this.updateView(this.map); }); this.updateView(this.map); Microsoft.Maps.Events.addHandler(this.map, 'click', this.Clicked.bind(this.map)); streetViewMapPromise(promise: Promise<any>) { promise.then(x => { this.map = x; }) } Clicked(e){ //click event console.log(e) }

.html

 <app-rs-bingmap (MapPromise)="streetViewMapPromise($event)" [options]="_mapOptions"></app-rs-bingmap>

La sección anterior es mi sección de importación de componentes de Bingmap v8. Además, mi evento de clic tampoco funciona. cuando hago clic en el mapa que quiero mostrar y alertar.

Aquí está el error stackblitz: getCameraForLocationToPoint aquí

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!