ScaledConverter class abstract
A coordinate converter between geospatial positions and scaled coordinates.
Geospatial positions may represent geographic or projected coordinates defined by a spatial coordinate reference system.
Scaled coordinates are projected coordinates scaled to a defined range most often defined by a tiling scheme.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromScaledX(
num x, {num width = 256}) → double -
Converts scaled
x
coordinate with range (0,width
) to geospatial x. -
fromScaledY(
num y, {num height = 256}) → double -
Converts scaled
y
coordinate with range (0,height
) to geospatial y. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toScaledX(
num x, {num width = 256}) → double -
Converts geospatial
x
to scaled x coordinate with range (0,width
). -
toScaledY(
num y, {num height = 256}) → double -
Converts geopatial
y
to scaled y coordinate with range (0,height
). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited