MapHeaderInfo class

Contains the immutable metadata of a map file.

@see org.mapsforge.map.reader.MapFile#getMapFileInfo()

Constructors

MapHeaderInfo.new({required BoundingBox boundingBox, String? comment, String? createdBy, bool debugFile = false, int? fileSize, int? fileVersion, String? languagesPreference, int? mapDate, int? numberOfSubFiles, List<Tag> poiTags = const [], String? projectionName, LatLong? startPosition, int? startZoomLevel, int tilePixelSize = 256, List<Tag> wayTags = const [], required ZoomlevelRange zoomlevelRange})
const

Properties

boundingBox BoundingBox
The bounding box of the map file.
final
comment String?
The comment field of the map file (may be null).
final
createdBy String?
The created by field of the map file (may be null).
final
debugFile bool
True if the map file includes debug information, false otherwise.
final
fileSize int?
The size of the map file, measured in bytes.
final
fileVersion int?
The file version number of the map file.
final
hashCode int
The hash code for this object.
no setterinherited
languagesPreference String?
The preferred language(s) separated with ',' for names as defined in ISO 639-1 or ISO 639-2 (may be null).
final
mapDate int?
The date of the map data in milliseconds since January 1, 1970.
final
numberOfSubFiles int?
The number of sub-files in the map file.
final
poiTags List<Tag>
The POI tags.
final
projectionName String?
The name of the projection used in the map file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startPosition LatLong?
The map start position from the file header (may be null).
final
startZoomLevel int?
The map start zoom level from the file header (may be null).
final
tilePixelSize int
The size of the tiles in pixels.
final
wayTags List<Tag>
The way tags.
final
zoomlevelRange ZoomlevelRange
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 other) bool
The equality operator.
inherited