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

218
Views
how to style mapbox polygon dots while editing

I am using react-map-gl along with maplibre-gl

my style.json looks like so:

{
  "version": 8,
  "sources": {
    "localsource": {
      "type": "raster",
      "tiles": [
        "https://example.com/{z}/{x}/{y}.png"
      ],
      "tileSize": 256,
      "attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors"
    }
  },
  "layers": [
    {
      "id": "locallayer",
      "source": "localsource",
      "type": "raster"
    }
  ]
}

The user is able to create and delete polygons which is fine, however while painting the polygons the dots seem too small for mobile use. I would like to increase their size while the polygon is being made

enter image description here

is there something I can add to the style.json to change their appearance? I looked the whole day throughout the docs of mapgl but could not understand how to achieve that. say for example increase the radius to 5 or 10 instead of 3 and maybe even change the color?

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!