Vector Style Editor: Dashes

307
0
01-16-2019 11:40 AM
NathanMellor
Occasional Contributor

Can you tell me why the editor in this case shows blank for dashes?

The path in question obviously has them.

This is a consistent problem and troublesome. Is it a bug in the editor?

This is what the style itself says. Does that mean the editor can't handle stops in dasharrays?

{"source-layer":"path","id":"path/footway (other surface)/line","paint":{"line-color":"#FA8072","line-dasharray":{"stops":[[12,[1,3]],[14,[2,4]],[15,[2,2]]]},"line-width":{"stops":[[12,0.7],[14,1],[15,1.3],[17,1.3],[18,1.6]],"base":1.2}}

Most of the dashed lines look pretty stupid in the mobile SDK on a high density phone, which is why I am looking at them.

0 Kudos
0 Replies