Type Alias ProjectionCache
type ProjectionCache = {
anyProjectionOccluded: boolean;
cachedAnchorPoint: Point | undefined;
offsets: IndexToPointCache;
projections: IndexToPointCache;
}
anyProjectionOccluded: boolean;
cachedAnchorPoint: Point | undefined;
offsets: IndexToPointCache;
projections: IndexToPointCache;
}
Index
Was this helpful?
Was any projected point occluded by the map itself (eg. occluded by the planet when using globe projection).
Viewport-pitched line-following texts where any of the line points is hidden behind the planet curve becomes entirely hidden. This is perhaps not the most ideal behavior, but it works, it is simple and planetary-scale texts such as this seem to be a rare edge case.