mousebird-consulting-inc / WhirlyGlobe

WhirlyGlobe Development
Other
830 stars 255 forks source link

Markers appear above labels while having a lower draw priority #1569

Closed PeterQi1117 closed 2 years ago

PeterQi1117 commented 2 years ago

Labels can be made to appear above the marker if LabelInfo.drawPriority > MarkerInfo.drawPriority + 1,000,000. A difference of 500k does not produce the same effect.

On commit 36118a27fcdff20261c8653a79d680f303161bb5

sjg-wdw commented 2 years ago

All drawPriority values can be intermingled. We try to offset them by 1M by default, but you can also turn that off in the BaseController.