tangram-es icon indicating copy to clipboard operation
tangram-es copied to clipboard

Difference between adding PolyLine using Marker and with ClientDataSource

Open mkandulavm opened this issue 4 years ago • 0 comments

Hi

Its possible to add a polyline using 2 ways.

  1. ClientDataSource::addPolylineFeature
  2. MarkerManager::setPolyline

Some issues in the forum indicate there is a precision difference in both the cases. Can I know exactly how the precision difference is coming ?

Are there any other differences ? Can there be render flickering issues observable with either ?

Path 2 is used during tile building, but its only suggested to use path 1 (with no examples) for custom lines. Why is this so ?

Any explanation is greatly appreciated.

Thanks.

mkandulavm avatar Aug 16 '19 10:08 mkandulavm