MapTileOptions class final
How the map picks the tiles to load.
The lod_ members lower the level of detail away from the camera, so the
map loads fewer tiles when the pitch is high.
See mln_map_tile_options in the
C API reference.
Constructors
- MapTileOptions({int? prefetchZoomDelta, double? lodMinRadius, double? lodScale, double? lodPitchThreshold, double? lodZoomShift, TileLodMode? lodMode})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lodMinRadius → double?
-
The radius around the view point, in tiles, that keeps full detail.
final
- lodMode → TileLodMode?
-
TileLodMode.distanceignoreslod_min_radius.final - lodPitchThreshold → double?
-
The pitch, in degrees, above which the map lowers the detail.
final
- lodScale → double?
-
Scales the distance to the view point. Above 1 lowers the detail.
final
- lodZoomShift → double?
-
Zoom levels to add for picking the detail. Below 0 loads fewer tiles.
final
- prefetchZoomDelta → int?
-
How many zoom levels lower the map also loads tiles for, so it can show a
coarse map while the current tiles load. 0 loads only the current tiles.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? prefetchZoomDelta, double? lodMinRadius, double? lodScale, double? lodPitchThreshold, double? lodZoomShift, TileLodMode? lodMode}) → MapTileOptions - A copy of this value with the given members replaced.
-
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