MbTilesMetadata class
The model class for the mbtiles metadata table
- Annotations
-
- @immutable
Constructors
- MbTilesMetadata({required String name, required String format, MbTilesBounds? bounds, LatLng? defaultCenter, double? defaultZoom, double? minZoom, double? maxZoom, String? attributionHtml, String? description, TileLayerType? type, double? version, String? json})
-
const
Properties
- attributionHtml → String?
-
An attribution string, which explains the sources of data and/or style
for the map. (may contain)
final
- bounds → MbTilesBounds?
-
The maximum extent of the rendered map area. Bounds must define an area
covered by all zoom levels. The bounds are represented as WGS 84 latitude
and longitude values, in the OpenLayers Bounds format (left, bottom,
right, top). For example, the bounds of the full Earth, minus the poles,
would be: -180.0,-85,180,85. (should contain)
final
- defaultCenter → LatLng?
-
The longitude, latitude of the default view of the map. (should contain)
final
- defaultZoom → double?
-
The zoom level of the default view of the map. (should contain)
final
- description → String?
-
A description of the fileset's content. (may contain)
final
- format → String
-
The file format of the tile data: pbf, jpg, png, webp,
or an IETF media type for other formats. (must contain)
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- json → String?
-
Lists the layers that appear in the vector tiles and the names and types
of the attributes of features that appear in those layers.
(must contain if format is pbf)
final
- maxZoom → double?
-
The highest zoom level for which the tileset provides data.
(should contain)
final
- minZoom → double?
-
The lowest zoom level for which the tileset provides data.
(should contain)
final
- name → String
-
The human-readable name of the tileset. (must contain)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TileLayerType?
-
Tile layer type, overlay or baselayer (may contain)
final
- version → double?
-
The version of the tileset. This refers to a revision of the tileset
itself, not of the MBTiles specification. (may contain)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override