mobile-sdk
mobile-sdk copied to clipboard
[cartocss]: marker z positioning
As shown in the screenshot the z positioning of markers is wrong by default.
I know we have `placement-priority` but here what i want is the default placement we have with `Marker` where the z positioning is based on lat/long
The biggest issue with this is the wrong rendering while tilting.

Correct, this feature is missing when using CartoCSS markers. It requires per-frame sorting of markers which is currently not implemented in vector tile renderer. Currently the only workaround is to use VectorLayer with Marker instances.
I am looking into this, will likely add a new property that can be used to force sorting.
@mtehver thanks for confirming this. Would nice a nice to have indeed. But no rush