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

247
Views
Mapbox de repente dejó de mostrar los nombres de los lugares, excepto en un cierto nivel de zoom

Si bien ayer mi código funcionaba sin problemas y no lo he modificado , hoy Mapbox de repente dejó de mostrar los nombres de los lugares, excepto en un cierto nivel de zoom:

ingrese la descripción de la imagen aquí ingrese la descripción de la imagen aquí

Aquí está mi código :

 const tkn = document.getElementById('t').getAttribute('data-t'); mapboxgl.accessToken = tkn; const map = new mapboxgl.Map({ container: 'mappa', // id style: 'mapbox://styles/mapbox/streets-v11?optimize=true', center: [12.3424, 42.3011], // [lng, lat] zoom: 3.7, projection: 'globe' }); map.on('style.load', () => { map.setFog({ 'color': '#8BF9EC', // Lower atmosphere 'high-color': '#0ac2ac', // Upper atmosphere 'horizon-blend': 0.1, // Atmosphere thickness (default 0.2 at low zooms) 'space-color': '#011311', }); // Set map in Italian: map.getStyle().layers.forEach(function(thisLayer){ if(thisLayer.type == 'symbol'){ map.setLayoutProperty(thisLayer.id, 'text-field', ['get','name_it']) }; }); // });

¿Qué puedo hacer para solucionar el problema? ¡Gracias!

about 4 years ago · Santiago Trujillo
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!