You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is it possible to change the tolerance option on a GeoJSON layer created as part of a style in Studio? #13740
I've created a map style for a project with various layers based on GeoJSON sources, to enhance some of the built-in map details such as building shapes. I'm experiencing some degradation of my GeoJSON polygons which I understand is down to geometry simplification performed by Mapbox:
Source in Workbench:
Same area rendered in map (note the "circular" detail in particular):
It appears that the tolerance option can only be set when adding GeoJSON sources at runtime, and not set on existing sources already added to the map nor configured in Studio.
When using vector tilesets in Studio based on GeoJSON sources, the secret is to publish the tileset, at which point you can choose a value for the simplification setting which appears to be functionally the same as tolerance is for GeoJSON. Setting this to 0 or a low value for the relevant sources in the project above has improved the degraded geometries shown.
If anyone is able to confirm the above as being the limits of offered functionality so far I'd appreciate it.
Activity
BigglesZX commentedon Oct 19, 2026
Updated to add my discoveries so far:
toleranceoption can only be set when adding GeoJSON sources at runtime, and not set on existing sources already added to the map nor configured in Studio.simplificationsetting which appears to be functionally the same astoleranceis for GeoJSON. Setting this to0or a low value for the relevant sources in the project above has improved the degraded geometries shown.If anyone is able to confirm the above as being the limits of offered functionality so far I'd appreciate it.