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

316
Views
Folleto: Cómo configurar el mapa central al tabular (teclado de pestañas) en el marcador

ya hay una pregunta similar con respecto a la pregunta que estoy haciendo aquí,

El enlace: Folleto Cómo configurar el mapa central al hacer clic en el marcador

Pero la diferencia es que, en lugar de hacer 'clic', quiero usar la tecla de tabulación (en el teclado) y quiero que el mapa se desplace al marcador y establezca la posición en el centro. Estoy usando el mapa del folleto y usando vue2 para ello. He buscado mucho en Google y no pude encontrar lo que quiero lograr. Cualquier ayuda de usted es muy apreciada, ¡Gracias de antemano!

PD: estoy usando este ejemplo de aquí: https://vue2-leaflet.netlify.app/components/LIcon.html#demo

 My vue file: <div class="map-container" :style="getHeightWidth"> <l-map ref="map" :zoom="zoom" :center="center"> <l-tile-layer url="https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png" attribution='&copy; <a target="_blank" href="http://osm.org/copyright">OpenStreetMap</a>' ></l-tile-layer> <l-marker v-for="(place, index) in places" :key="index" :lat-lng="[place.location.latitude, place.location.longitude]"> <l-icon :icon-anchor="iconAnchor" :icon-size="iconSize" > <MapMarker :text="place.name" /> </l-icon> <l-popup> <p>lol</p> </l-popup> </l-marker> </l-map> </div> // and in data : data() { return { zoom: 3, center: [47.413220, -1.209482], iconAnchor: [32, 32], iconSize: [32, 32], }; },

y luego tengo algunos estilos CSS.

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!