• All Superinterfaces:
    TileSource

    public interface PolygonTileSource
    extends TileSource

    A source of geodetic polygon tiles. Polygons provided by an implementation must be clipped to the boundaries of the requested tile. The implementations must be thread-safe.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

    • Method Detail

      • loadTile

        @Nullable
        TileSource.LoadTileRequestHandle loadTile​(@NonNull
                                                  TileKey tileKey,
                                                  @NonNull
                                                  PolygonTileSource.LoadResultHandler completionHandler)

        Load data of a tile. Upon completion, the handler gets informed.

        Parameters:
        tileKey -

        Key of the tile to load data for.

        completionHandler -

        Load result handler.

        Returns:

        A handle to the created load request.