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

160
Views
¿Cómo darle a cada coordenada en GeoJson un color diferente?

Quiero que cada coordenada tenga su propio color según la altitud, que es el tercer elemento de la matriz.

Soluciones que he encontrado hasta ahora: dividir manualmente los datos en múltiples funciones, sé cómo agregar estilo a nivel de feature/geometry .

Estoy usando react-leaflet v2.4.0 . ¡Gracias por adelantado!

A continuación se muestra el objeto GeoJson que tengo.

 { type: 'FeatureCollection', features: [ { type: 'Feature', geometry: { type: 'MultiLineString', coordinates: [ [ [86.871974, 27.9047199, 4737.0], [86.8715921, 27.9044794, 4733.0], [86.8715009, 27.9046169, 4734.0], [86.8715062, 27.9048065, 4735.0], [86.8711361, 27.9051479, 4732.0], [86.8706104, 27.9048302, 4728.0], [86.8704494, 27.9049677, 4727.0], ] ], }, }, ] }
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!