Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

126
Vistas
Make pins in symbol layer pixel perfect for clicking

I am using layer of symbols and want to make it possible as much as possible pixel perfect the icon be. How i can achieve this i am using custom maki icons for these symbols. Is it somehow possible to increase the size of the icon but reduce the size of square for example?

Ive tried to play with size and paddings in the layer setup but this did not help.

My Layer looks like this:

 "id": tableName + "-layer",
                    "type": "symbol",
                    "source": tableName,
                    "source-layer": tableName,
                    "layout": {
                        "icon-image": 'marker-15-svg',
                        "icon-size": ["interpolate",
                            ["linear"], ["zoom"],
                            4, 1.3,
                            8, 1.5,
                            13, 2.5
                        ],
                        "icon-allow-overlap": true,
                        "icon-padding": 0,
                        "icon-offset": [0, -3],
                        "icon-anchor": "center",
                        "symbol-z-order": "source"
                    },
                    "paint": {
                        "icon-color": materialSetColor,
                        "icon-opacity": {"stops": [[10, 0.7], [30, 1]]},
                    }

enter image description here

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda