HeatMapTilesProvider class

Constructors

HeatMapTilesProvider({required HeatMapDataSource dataSource, required HeatMapOptions heatMapOptions})

Properties

dataSource ↔ HeatMapDataSource
getter/setter pair
griddedData ↔ Map<double, List<DataPoint>>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Custom HTTP headers that may be sent with each tile request
finalinherited
heatMapOptions ↔ HeatMapOptions
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsCancelLoading → bool
Indicates to flutter_map internals whether to call getImage (when false) or getImageWithCancelLoadingSupport
no setterinherited

Methods

dispose() → void
Called when the TileLayer is disposed
inherited
generateReplacementMap(String urlTemplate, TileCoordinates coordinates, TileLayer options) → Map<String, String>
Generate the Map of placeholders to replacements, to be used in populateTemplatePlaceholders
inherited
getImage(TileCoordinates coordinates, TileLayer options) → ImageProvider<Object>
Retrieve a tile as an image, based on its coordinates and the TileLayer
getImageWithCancelLoadingSupport(TileCoordinates coordinates, TileLayer options, Future<void> cancelLoading) → ImageProvider<Object>
Retrieve a tile as an image, based on its coordinates and the TileLayer
inherited
getTileFallbackUrl(TileCoordinates coordinates, TileLayer options) → String?
Generate a fallback URL for a tile, based on its coordinates and the TileLayer
inherited
getTileUrl(TileCoordinates coordinates, TileLayer options) → String
Generate a primary URL for a tile, based on its coordinates and the TileLayer
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
populateTemplatePlaceholders(String urlTemplate, TileCoordinates coordinates, TileLayer options) → String
Replaces placeholders in the form templatePlaceholderElement with their corresponding values
inherited
tile2Lat(num y, num z) → double
converts tile y to latitude. if the latitude is out of range it is adjusted to the min/max latitude (-90,90)
tile2Lon(num x, num z) → double
converts the tile x to longitude. if the longitude is out of range then it is adjusted to the min/max longitude (-180/180)
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited