|
Maps SDK for C++ 1.0.0
|
MapDetails object. More...


Public Member Functions | |
| MapDetails (const MapDetails &)=delete | |
| MapDetails (MapDetails &&)=default | |
| Default move constructor noexcept is deduced. | |
| MapDetails & | operator= (const MapDetails &)=delete |
| MapDetails & | operator= (MapDetails &&mapDetails)=default |
| Default move assignment noexcept is deduced. | |
| EMapCoverage | getMapCoverage (const Coordinates &coords) const noexcept |
| Get the map coverage for the region specified by WGS84 coordinates. | |
| EMapCoverage | getMapCoverage (const CoordinatesList &coords) const noexcept |
| Get the map coverage for the region specified by WGS84 coordinates. | |
| EMapCoverage | getCountryMapCoverage (const String &code) const noexcept |
| Get the map coverage for the country specified by ISO 3166-1 alpha-3 country code. | |
| String | getCountryName (const Coordinates &coords) const noexcept |
| Get the country name for the specified WGS. | |
| String | getCountryName (unsigned int index) const noexcept |
| Get the country name for the specified index. | |
| String | getCountryCode (const Coordinates &coords) const noexcept |
| Get the ISO 3166-1 alpha-3 country code for the specified WGS. | |
| StringList | getLanguageCodes (const Coordinates &coords) const noexcept |
| Get the language codes for the specified WGS. | |
| String | getCountryCode (unsigned int index) const noexcept |
| Get the ISO 3166-1 alpha-3 country code for the specified index. | |
| Image | getCountryImage (unsigned int index) const noexcept |
| Get country image for the specified index. | |
| StringList | getLanguageCodes (unsigned int index) const noexcept |
| Get the language codes for the specified index. | |
| int | getCountryMapCapabilities (const String &code) const noexcept |
| Get the capabilities for a country map. | |
| String | getCountryName (const String &isoCode) const noexcept |
| Get the country name for the isoCode. | |
| Image | getCountryFlag (const String &isoCode) const noexcept |
| Get the country flag for the isoCode. | |
| RectangleGeographicArea | getCountryBoundingRectangle (const String &isoCode) const noexcept |
| Get the country bounding rectangle for the isoCode. | |
| std::pair< Time, Time > | getSunriseAndSunset (const Coordinates &coords, const Time &refTime=Time()) const noexcept |
| Get the sunrise & sunset for the specified reference date and WGS position. | |
| bool | isNight (const Coordinates &coords, const Time &refTime=Time()) const noexcept |
| Check if it is night at the specified coordinated and time. | |
| IntList | getMapProviderIds () const noexcept |
| Get the map provider IDs list. | |
| String | getProviderName (EMapProviderId id) const noexcept |
| Get the name of the specified provider. | |
| String | getProviderSentence (EMapProviderId id) const noexcept |
| Get the copyright statement for the specified provider. | |
| Image | getProviderLogo (EMapProviderId id) const noexcept |
| Get the logo of the specified provider. | |
| int | getMapExtendedCapabilities () const noexcept |
| Get map extended capabilities as int. | |
| int | getCountryData (int idx, String &name, Image &image, String &iso) const noexcept |
| Get country data browse. | |
| int | getCountryDataCount () const noexcept |
| Get country data count. | |
| template<typename TCollector> | |
| bool | iterateCountries (TCollector collector) const noexcept |
| Iteration through country data. | |
| Version | getMapVersion () const noexcept |
| Get map version. | |
| Version | getLatestOnlineMapVersion () const noexcept |
| Get latest online map version. | |
| std::pair< Time, String > | getMapReleaseInfo () const noexcept |
| Get map release date. | |
| MapSpeedLimitList | getCountrySpeedLimits (const String &isoCode) const |
| Get speed limits list for the country specified by ISO 3166-1 alpha-3 country code. | |
MapDetails object.
It provides the attributes of a map at the specified coordinates.
Implements share-read / write Api object over IMapDetails.
This behaves like a singleton, i.e. all instances are shared behind the same API interface
|
inlinenoexcept |
Get the country bounding rectangle for the isoCode.
| [in] | isoCode | ISO 3166-1 alpha-3 country code. |
|
inlinenoexcept |
Get the ISO 3166-1 alpha-3 country code for the specified WGS.
Empty string means no country. See: http://en.wikipedia.org/wiki/ISO_3166-1 for the list of codes.
| [in] | coords | Coordinates |
|
inlinenoexcept |
Get the ISO 3166-1 alpha-3 country code for the specified index.
Empty string means no country. See: http://en.wikipedia.org/wiki/ISO_3166-1 for the list of codes.
| [in] | index | Country index. |
|
inlinenoexcept |
Get country data browse.
| [in] | idx | Country index |
| [out] | name | Country name |
| [out] | image | Country flag image |
| [out] | iso | Country ISO code |
|
inlinenoexcept |
Get country data count.
Get the country flag for the isoCode.
| [in] | isoCode | ISO 3166-1 alpha-3 country code. |
|
inlinenoexcept |
Get country image for the specified index.
| [in] | index | Country index. |
|
inlinenoexcept |
Get the capabilities for a country map.
This method checks the data available on the device. Check TCountryCapability for possible return values.
| [in] | code | ISO 3166-1 alpha-3 country code. |
|
inlinenoexcept |
Get the map coverage for the country specified by ISO 3166-1 alpha-3 country code.
This function checks the map coverage status using only the information available on the device. No server connection is performed. This check is performed fast.
| [in] | code | ISO 3166-1 alpha-3 country code. |
|
inlinenoexcept |
Get the country name for the specified WGS.
| [in] | coords | Coordinates |
Get the country name for the isoCode.
| [in] | isoCode | ISO 3166-1 alpha-3 country code. |
|
inlinenoexcept |
Get the country name for the specified index.
| [in] | index | Country index. |
|
inline |
Get speed limits list for the country specified by ISO 3166-1 alpha-3 country code.
| [in] | isoCode | The collector |
|
inlinenoexcept |
Get the language codes for the specified WGS.
Empty list means no coordinates match. See: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for the list of codes.
| [in] | coords | Coordinates |
|
inlinenoexcept |
Get the language codes for the specified index.
See: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for the list of codes.
| [in] | index | Country index. |
|
inlinenoexcept |
Get latest online map version.
|
inlinenoexcept |
Get the map coverage for the region specified by WGS84 coordinates.
This function checks only using the information available on device about map coverage status at the specified coordinates. No server connection is performed. This check is performed fast.
| [in] | coords | WGS84 coordinates. |
|
inlinenoexcept |
Get the map coverage for the region specified by WGS84 coordinates.
This function checks only using the information available on device about map coverage status at the specified coordinates. No server connection is performed.
| [in] | coords | List of coordinates. |
|
inlinenoexcept |
Get map extended capabilities as int.
Check TMapExtendedCapability for possible return values.
|
inlinenoexcept |
Get the map provider IDs list.
The function returns the list of map provider IDs. It may be empty if no map data is available on the device.
Get map release date.
|
inlinenoexcept |
Get map version.
|
inlinenoexcept |
Get the logo of the specified provider.
| [in] | id | The provider ID. |
|
inlinenoexcept |
Get the name of the specified provider.
| [in] | id | The provider ID. |
|
inlinenoexcept |
Get the copyright statement for the specified provider.
| [in] | id | The provider ID. |
|
inlinenoexcept |
Get the sunrise & sunset for the specified reference date and WGS position.
If no time is provided then the device time is used.
| [in] | coords | WGS Coordinates |
| [in] | refTime | Reference time |
|
inlinenoexcept |
Check if it is night at the specified coordinated and time.
If no time is provided then the device time is used.
| [in] | coords | WGS Coordinates |
| [in] | refTime | Reference time |
|
inlinenoexcept |
Iteration through country data.
Collector should have the following signature bool( String, Image, String ). Collector must return true if iteration should continue and false if iteration should stop.
| TCollector | The collector type |
| [in] | collector | The collector |
|
default |
Default move assignment noexcept is deduced.
| mapDetails | The object to move |