Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace TileDependenciesExample

This example shows how to use the {@link @here/harp-mapview#Tile.dependencies} property to ensure that tiles which have geometry overlapping other.

If you pan further enough left / right, you will see that the tile disappears.

It combines part of the https://www.harp.gl/docs/master/examples/#object-picking.html and https://www.harp.gl/docs/master/examples/#datasource_custom.html examples.

{@link @here/harp-mapview#Tile}s that contain the geometry from another Tile need to have a
reference to the Tile containing the overlapping geometry, this is achieved using the
`dependencies` property of the {@link @here/harp-datasource-protocol#DecodedTile}
```typescript

Generated using TypeDoc