Class LineTileDataSource

java.lang.Object
com.here.NativeBase
com.here.sdk.mapview.datasource.LineTileDataSource

public final class LineTileDataSource extends NativeBase

Line tile data source allows the rendering engine access to user managed data sets of geodetic lines and their attributes through a LineTileSource.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

  • Method Details

    • create

      @NonNull public static LineTileDataSource create(@NonNull MapContext context, @NonNull String name, @NonNull LineTileSource tileSource)

      Creates a named LineTileDataSource in the given context over a given LineTileSource.

      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.