mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

line-pattern isn't seamless

Open bar3200 opened this issue 5 years ago • 4 comments

mapbox-gl-js version: 1.12.0

browser: chrome / edge

Steps to Trigger Behavior

using this image for pattern: image

Expected Behavior

image

Actual Behavior

image

https://jsbin.com/kucoxer/edit

Am I doing something wrong? or is it a known problem?

bar3200 avatar Nov 02 '20 08:11 bar3200

Thank you for your opening this ticket. To help the maintainers and community understand and address the problem accurately can you please provide a minimal, complete, verifiable demonstration of the issue. We recommend using https://jsbin.com.

sgolbabaei avatar Nov 02 '20 20:11 sgolbabaei

Thank you for your opening this ticket. To help the maintainers and community understand and address the problem accurately can you please provide a minimal, complete, verifiable demonstration of the issue. We recommend using https://jsbin.com.

https://jsbin.com/kucoxer/edit

here is an example. As you can see, the most problamtic thing is combining two features. but also the line itself, on some zoom levels, is really bad.

bar3200 avatar Nov 03 '20 09:11 bar3200

Are you going to solve this problem?

Yuki-Zhao avatar Mar 09 '23 11:03 Yuki-Zhao

PTAL at https://docs.mapbox.com/mapbox-gl-js/example/line-pattern and distortion-free dotted pattern line.

astojilj avatar Aug 29 '24 04:08 astojilj