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

127
Views
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
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!