MapfileWriter class
The main class for writing a Mapsforge binary map file (.map).
This class orchestrates the entire process of creating a map file, from writing the header and tag information to creating and filling the sub-files with tile data.
See the official specification for more details: https://github.com/mapsforge/mapsforge/blob/master/docs/Specification-Binary-Map-File.md
Constructors
- MapfileWriter({required String filename, required MapHeaderInfo mapHeaderInfo})
Properties
- filename → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapHeaderInfo → MapHeaderInfo
-
final
-
poiTags
→ List<
Tagholder> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subfileCreators
→ List<
SubfileCreator> -
final
-
wayTags
→ List<
Tagholder> -
final
Methods
-
close(
) → Future< void> - Closes the writer and finalizes the map file.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
double maxDeviationPixel, int instanceCount) → Future< void> - Writes the complete map file structure to the file sink.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited