MapAttributes class

Constructors

MapAttributes(String instructions)
Read json from the Map Instruction string.
factory

Properties

aspectRatio double
Aspect ratio of the svg map
no setter
bottomRight LatLong
LatLong of the bottom right corner of the svg map
final
drawingInstructions List<Map<String, dynamic>>
final
hashCode int
The hash code for this object.
no setterinherited
mapHeight double
height of the svg map
final
mapWidth double
Width of the svg map
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topLeft LatLong
LatLong of the top left corner of the svg map
final

Methods

latLongToPixels(LatLong position) Size
Return the position Size(x, y) from a LatLong position. This method can be used if you want to display some marker on the map. position Coordinate of a city for example.
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