|
Maps SDK for C++ 1.0.0
|
Provides programmatic control of map overlays. More...


Public Member Functions | |
| OverlayService (const OverlayService &service)=delete | |
| Default copy constructor. | |
| OverlayService (OverlayService &&service)=default | |
| Default move constructor. | |
| OverlayService & | operator= (const OverlayService &service)=delete |
| Default copy assignment. | |
| OverlayService & | operator= (OverlayService &&service)=default |
| Default move assignment noexcept is deduced. | |
| std::pair< OverlayCollectionRef, bool > | getAvailableOverlays (ProgressListener listener=ProgressListener()) const noexcept |
| Get list of SDK available overlays. | |
| int | enableOverlay (int uid, int categUid=-1) noexcept |
| Enables the overlay with the given uid. | |
| int | disableOverlay (int uid, int categUid=-1) noexcept |
| Disables the overlay with the given uid. | |
| bool | isOverlayEnabled (int uid, int categUid=-1) const noexcept |
| Check if the overlay with the given uid is enabled. | |
| int | enableOverlayOfflineDataGrabber (int uid) noexcept |
| Enables the offline data grabber for the overlay with the given uid. | |
| int | disableOverlayOfflineDataGrabber (int uid) noexcept |
| Disables the offline data grabber for the overlay with the given uid. | |
| bool | isOverlayOfflineDataGrabberEnabled (int uid) const noexcept |
| Check if the offline data grabber for the given overlay uid is enabled. | |
| bool | isOverlayOfflineDataGrabberSupported (int uid) const noexcept |
| Check if the offline data grabber for the given overlay uid is supported. | |
| int | grabOverlayOfflineData (int uid, ProgressListener listener) noexcept |
| Grab latest overlay offline data over all existing offline maps area. | |
| void | cancelGrabOverlayOfflineData (int uid) noexcept |
| Grab latest overlay offline data over all existing offline maps area. | |
Provides programmatic control of map overlays.
Implements share read/write Api object over IOverlayService.
This behaves like a singleton, i.e. all instances are shared behind the same API interface
Manages lifecycle of overlay elements displayed within a MapView.
|
delete |
Default copy constructor.
| service | The OverlayService object to copy |
|
default |
Default move constructor.
| service | The OverlayService object to move noexcept is deduced |
|
inlinenoexcept |
Grab latest overlay offline data over all existing offline maps area.
| [in] | uid | The overlay uid |
|
inlinenoexcept |
Disables the overlay with the given uid.
This will deactivate the overlay for all registered services ( map views, alarms, etc )
| [in] | uid | The overlay uid |
| [in] | categUid | The overlay category uid ( optional ) |
If -1 the whole overlay will be disabled
|
inlinenoexcept |
Disables the offline data grabber for the overlay with the given uid.
| [in] | uid | The overlay uid |
|
inlinenoexcept |
Enables the overlay with the given uid.
This will activate the overlay for all registered services ( map views, alarms, etc )
| [in] | uid | The overlay uid |
| [in] | categUid | The overlay category uid ( optional ) |
If -1 the whole overlay will be enabled
|
inlinenoexcept |
Enables the offline data grabber for the overlay with the given uid.
| [in] | uid | The overlay uid |
The offline data grabber downloads an overlay covering dataset for every new downloaded road map content
The offline data is automatically grabbed immediately after a road map content download finishes & is stored in the SDK permanent cache
|
inlinenoexcept |
Get list of SDK available overlays.
| [in] | listener | Progress listener. If not all overlays info is available onboard, a notification will be sent when it will be downloaded |
|
inlinenoexcept |
Grab latest overlay offline data over all existing offline maps area.
| [in] | uid | The overlay uid |
| [in] | listener | Progress listener |
|
inlinenoexcept |
Check if the overlay with the given uid is enabled.
| [in] | uid | The overlay uid |
| [in] | categUid | The overlay category uid ( optional ) |
If -1 the whole overlay will be disabled
|
inlinenoexcept |
Check if the offline data grabber for the given overlay uid is enabled.
| [in] | uid | The overlay uid |
|
inlinenoexcept |
Check if the offline data grabber for the given overlay uid is supported.
| [in] | uid | The overlay uid |
|
delete |
Default copy assignment.
| service | The OverlayService object to copy |
|
default |
Default move assignment noexcept is deduced.
| service | The OverlayService object to move |