MapHeaderInfo class

Contains the high-level, immutable metadata of a map file.

This class holds the information stored in the map file header, such as the bounding box, file version, creation date, and projection details.

Constructors

MapHeaderInfo({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 geographical bounding box that this map file covers.
final
comment String?
An optional comment string included in the map file.
final
createdBy String?
The name of the tool or person that created the map file.
final
debugFile bool
Whether the map file includes special debugging information.
final
fileSize int?
The total size of the map file in bytes.
final
fileVersion int?
The version of the Mapsforge file format used.
final
hashCode int
The hash code for this object.
no setterinherited
languagesPreference String?
A comma-separated list of preferred languages for labels, as defined in ISO 639-1 or ISO 639-2.
final
mapDate int?
The creation date of the map data, in milliseconds since the Unix epoch.
final
numberOfSubFiles int?
The number of zoom-specific sub-files contained within this map file.
final
poiTags List<Tag>
The list of predefined tags for Points of Interest (POIs).
final
projectionName String?
The name of the projection used in the map file (e.g., 'mercator').
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startPosition → LatLong?
The recommended starting position (latitude/longitude) for the map view.
final
startZoomLevel int?
The recommended starting zoom level for the map view.
final
tilePixelSize int
The size of the map tiles in pixels (e.g., 256 or 512).
final
wayTags List<Tag>
The list of predefined tags for ways (lines and polygons).
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