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

175
Views
Aquí mapas: haga clic en agregar Línea curva entre dos puntos usando ¿Aquí mapas?

Aquí se agregó código para hacer clic en dibujar polilínea entre 2 puntos. Necesito ayuda sobre cómo podemos agregar una línea de curva/arco entre dos ubicaciones geográficas.

 // add map var defaultLayers = this.platform.createDefaultLayers(); var map = new H.Map(document.getElementById('map'), defaultLayers.vector.normal.map,{ center: {lat:21, lng:72}, zoom: 7, pixelRatio: window.devicePixelRatio || 1 }); var lineString = new H.geo.LineString(); const mapevents = new H.mapevents.MapEvents(map); // enable the tap event system this.map.addEventListener("tap", (event: any) => { const position = map.screenToGeo(event.currentPointer.viewportX, event.currentPointer.viewportY); const marker = new H.map.Marker(position); map.addObject(marker); //push point to strip lineString.pushPoint(position); console.log(this.lineString); //create the line map.addObject(new H.map.Polyline( lineString, { style: { lineWidth: 4 }} )); })```
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!