tangram-es
tangram-es copied to clipboard
Point "changes" place at zooming out
I attached the scene and MainActivity to reproduce the issue.
Correct/At zoom level 16:
At Zoom level 15:
You can see the upper-left point moves to another position somewhy and one point is missing as well.
Hi @vilinet - thanks for the report. I peeked at the example file you sent and noticed that these points are encoded in GeoJSON as a linestring. Have you tried encoding them as a MultiPoint geometry or just as separate Point features? The reason I ask is that GeoJSON layers like this have their LineString and Polygon geometries split into separate tiles and, in some cases, simplified for rendering.
With MultiPoint it works. But i want to show a line and the points the line made of. I can achieve that with LineString, but MultiPoint/Point does not support line styles.
Aha, that's good to know! I think for now you should encode both a LineString and a MultiPoint, even though it is somewhat redundant.
However, I would expect point rendering with LineString data to work in this scenario. I'll look into this behavior. It will be easier to figure out what's going on now that I know it works with MultiPoint data.