Class PolygonTileDataSource
Package com.here.sdk.mapview.datasource
Class PolygonTileDataSource
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.datasource.PolygonTileDataSource
-
public final class PolygonTileDataSource extends NativeBase
Polygon tile data source allows the rendering engine access to user managed data sets of geodetic polygons and their attributes through a
PolygonTileSource.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolygonTileDataSourcecreate(MapContext context, java.lang.String name, PolygonTileSource tileSource)Creates a namedPolygonTileDataSourcein the given context over a givenPolygonTileSource.voiddestroy()Frees all internally used resources.
-
-
-
Method Detail
-
create
@NonNull public static PolygonTileDataSource create(@NonNull MapContext context, @NonNull java.lang.String name, @NonNull PolygonTileSource tileSource)
Creates a named
PolygonTileDataSourcein the given context over a givenPolygonTileSource.- Parameters:
context-Map context to associate the data source with.
name-Name of the data source to be created. Must be unique.
tileSource-The source of tile data.
- Returns:
Instance of the data source created with given name and tile source.
-
destroy
public void destroy()
Frees all internally used resources. After calling this method, the object is not usable anymore.
-
-