question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support sort-key style properties for layers

See original GitHub issue

In the mapbox style spec, each layer type (symbol, fill, line, circle) has a sort-key property that is used to sort features within the layer.

https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-symbol-sort-key

This style property needs to be added to SymbolLayer, FillLayer, LineLayer, and CircleLayer.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mfazekascommented, Feb 20, 2020

See #679 it now adds symbolSortKey

0reactions
tr3v3rcommented, Feb 20, 2020

@mfazekas Wow cool! Thanks for such a quick response! Looking forward to approving the pr and future release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support sort-key style properties for layers #430 - GitHub
In the mapbox style spec, each layer type (symbol, fill, line, circle) has a sort-key property that is used to sort features within...
Read more >
Working with sort keys - Amazon Redshift - AWS Documentation
To define a sort type, use either the INTERLEAVED or COMPOUND keyword with your CREATE TABLE or CREATE TABLE AS statement. The default...
Read more >
Layers | Style Specification | Mapbox GL JS
A style's layers property lists all the layers available in that style. The type of layer is specified by the "type" property, and...
Read more >
Mapbox Studio feature Z-ordering - Stack Overflow
I see the documentation for circle-sort-key for gl-js style ... properties (raduis, color, opacity, etc) for the layer style in studio.
Read more >
Sort Custom Tileset Features in MapBox Studio or GL
Not sure about the results. If you want to sort in ascending order (large values drawn over/after small values) of the property you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found