MapDetails class abstract Maps & 3D Scene

Map details class

Constructors

MapDetails()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

latestOnlineMapVersion Version
Get latest online map version.
no setter
mapVersion Version
Get the map version.
no setter

Static Methods

getCountryBoundingRectangle(String code) RectangleGeographicArea
Get the country bounding rectangle for the isoCode.
getCountryCode(Coordinates coords) String
Get the ISO 3166-1 alpha-3 country code for the specified WGS.
getCountryCodeByIndex(int index) String
Get the ISO 3166-1 alpha-3 country code for the specified index.
getCountryDataCount() int
Get country data count.
getCountryFlag({required String countryCode, Size? size, ImageFileFormat? format}) Uint8List?
Get the country flag for the isoCode.
getCountryFlagByIndex({required int index, Size? size, ImageFileFormat? format}) Uint8List?
Get the country flag for the specified index.
getCountryFlagImg(String countryCode) Img?
Get the country flag for the specified country.
getCountryFlagImgByIndex({required int index}) Img?
Get the country flag for the specified index.
getCountryMapCoverage(String code) MapCoverage
Get the map coverage for the country specified by ISO 3166-1 alpha-3 country code.
getCountryName(Coordinates coords) String
Get the country name for the specified coordinates (WGS).
getCountryNameByIndex(int index) String
Get the country name for the specified index.
getCountryNameByISO(String code) String
Get the country name for the specified ISO code.
getLanguageCode(Coordinates coords) List<String>
Get the language codes for the specified coordinates.
getLanguageCodeByIndex(int index) List<String>
Get the language codes for the specified index.
getMapCoverage(List<Coordinates> coords) MapCoverage
Get the map coverage for the region specified by WGS84 coordinates.
getMapExtendedCapabilities() Set<MapExtendedCapability>
Get map extended capabilities.
getMapProviderIds() List<int>
Get the map provider IDs list.
getMapReleaseInfo() DateTime
Get map release date
getProviderName(MapProviderId id) String
Get the name of the specified provider.
getProviderSentence(MapProviderId id) String
Get the copyright statement for the specified provider.
getSunriseAndSunset(Coordinates coords, DateTime time) Pair<DateTime, DateTime>
Get the sunrise & sunset for the specified reference date and WGS position.
isNight(Coordinates coords, DateTime time) bool
Check if it is night at the specified coordinates and time.