diff --git a/README.md b/README.md index 3712a3a0..f6e222e7 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ For an overview of the existing features, please check the _Developer Guide_ for > For now, the _Navigate Edition_ is only available upon request. Please contact your HERE representative to receive access including a set of evaluation credentials. -## List of Available Example Apps (Version 4.17.0.0) +## List of Available Example Apps (Version 4.17.1.0) - **HelloMap**: Shows the classic 'Hello World'. - **HelloMapKotlin**: Shows the classic 'Hello World' using Kotlin language (Android only). diff --git a/examples/latest/README.md b/examples/latest/README.md index 058a1089..7d0f30d3 100644 --- a/examples/latest/README.md +++ b/examples/latest/README.md @@ -1,4 +1,4 @@ -This folder contains the HERE SDK examples apps for version: 4.17.0.0 +This folder contains the HERE SDK examples apps for version: 4.17.1.0 - HERE SDK for Android ([Lite Edition](lite/android/), [Explore Edition](explore/android/), [Navigate Edition](navigate/android/)) - HERE SDK for iOS ([Lite Edition](lite/ios/), [Explore Edition](explore/ios/), [Navigate Edition](navigate/ios/)) diff --git a/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java b/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java index 5cdfe683..3e851103 100644 --- a/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java +++ b/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java b/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java index 13310043..876e0aff 100644 --- a/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java +++ b/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java b/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java index 22e8b286..bbaa8ed5 100644 --- a/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java +++ b/examples/latest/explore/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java index 6581f2b8..231d8ac7 100644 --- a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java +++ b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java index 33597e1e..1265ff59 100644 --- a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java +++ b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java index 387dfc51..338bdc06 100644 --- a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java +++ b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java index 8c3a6a9c..43b1b3a5 100644 --- a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java +++ b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java index d2c39abf..3497fb99 100644 --- a/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java +++ b/examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java b/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java index 5e288d44..989896a4 100644 --- a/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java +++ b/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java b/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java index fec6c2c3..daff8758 100644 --- a/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java +++ b/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java b/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java index f48d6554..1528b93f 100644 --- a/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java +++ b/examples/latest/explore/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java b/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java index 89202d3c..da4ea466 100644 --- a/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java +++ b/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java b/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java index 5c445f5d..a16166c1 100644 --- a/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java +++ b/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java b/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java index 67eff84c..bc8b8c30 100644 --- a/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java +++ b/examples/latest/explore/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java b/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java index 80d95f24..02c57188 100644 --- a/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java +++ b/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java b/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java index 703384da..4ac9dcdb 100644 --- a/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java +++ b/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java b/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java index 815b759e..8567192d 100644 --- a/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java +++ b/examples/latest/explore/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java index a86818b2..4be54c7c 100644 --- a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java +++ b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java index d1d3c5f1..737e09df 100644 --- a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java +++ b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java index bb0bfff1..53fb4821 100644 --- a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java +++ b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java index d3339c48..620e6869 100644 --- a/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java +++ b/examples/latest/explore/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java b/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java index 445c015a..c80ca083 100644 --- a/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java +++ b/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java b/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java index b5dfc5dd..43757597 100644 --- a/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java +++ b/examples/latest/explore/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java index 5e18ea79..9abb5ffb 100644 --- a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java +++ b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java index ae269d69..b7d79ef4 100644 --- a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java +++ b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java index 688ced79..f3ddc328 100644 --- a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java +++ b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java index 18a7ba82..c51ec73e 100644 --- a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java +++ b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java index 1727ea8b..b2e522a8 100644 --- a/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java +++ b/examples/latest/explore/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt b/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt index 8b6ca4e2..dbfdeb7a 100644 --- a/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt +++ b/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt b/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt index ba1cbd22..0b892465 100644 --- a/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt +++ b/examples/latest/explore/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java b/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java index 6cec29ef..326c7712 100644 --- a/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java +++ b/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java b/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java index 060408f6..c111cdbb 100644 --- a/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java +++ b/examples/latest/explore/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MainActivity.java b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MainActivity.java index 0b3d11e8..6adb30ea 100644 --- a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MainActivity.java +++ b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapItemsExample.java b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapItemsExample.java index 51168293..0334dce7 100644 --- a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapItemsExample.java +++ b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapItemsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapObjectsExample.java b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapObjectsExample.java index 715c52d4..be8f917f 100644 --- a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapObjectsExample.java +++ b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapObjectsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapViewPinExample.java b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapViewPinExample.java index ba6525fa..50fad28d 100644 --- a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapViewPinExample.java +++ b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/MapViewPinExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/PermissionsRequestor.java b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/PermissionsRequestor.java index d12355f7..e56b7dcd 100644 --- a/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/PermissionsRequestor.java +++ b/examples/latest/explore/android/MapItems/app/src/main/java/com/here/mapitems/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/DataBroadcast.java b/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/DataBroadcast.java index 99031ceb..9fd6bc19 100644 --- a/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/DataBroadcast.java +++ b/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/DataBroadcast.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/MainActivity.java b/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/MainActivity.java index e14c7933..c2083276 100644 --- a/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/MainActivity.java +++ b/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/PermissionsRequestor.java b/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/PermissionsRequestor.java index 7ec4cdb5..44f913d5 100644 --- a/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/PermissionsRequestor.java +++ b/examples/latest/explore/android/MultiDisplays/app/src/main/java/com/here/multidisplays/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/OffscreenMapSurface/app/src/main/java/com/here/offscreenmap/MainActivity.java b/examples/latest/explore/android/OffscreenMapSurface/app/src/main/java/com/here/offscreenmap/MainActivity.java index b2b8d587..b4710da2 100644 --- a/examples/latest/explore/android/OffscreenMapSurface/app/src/main/java/com/here/offscreenmap/MainActivity.java +++ b/examples/latest/explore/android/OffscreenMapSurface/app/src/main/java/com/here/offscreenmap/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/MainActivity.java b/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/MainActivity.java index 60f009bc..1ed24904 100644 --- a/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/MainActivity.java +++ b/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PermissionsRequestor.java b/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PermissionsRequestor.java index 1c24a446..efb87d29 100644 --- a/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PermissionsRequestor.java +++ b/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PublicTransportRoutingExample.java b/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PublicTransportRoutingExample.java index 521cee5c..bd5cac14 100644 --- a/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PublicTransportRoutingExample.java +++ b/examples/latest/explore/android/PublicTransit/app/src/main/java/com/here/routing/PublicTransportRoutingExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/MainActivity.java b/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/MainActivity.java index b5e7a9e2..9d703421 100644 --- a/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/MainActivity.java +++ b/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/PermissionsRequestor.java b/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/PermissionsRequestor.java index 1c24a446..efb87d29 100644 --- a/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/PermissionsRequestor.java +++ b/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/RoutingExample.java b/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/RoutingExample.java index 2576e76e..e38fe11c 100644 --- a/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/RoutingExample.java +++ b/examples/latest/explore/android/Routing/app/src/main/java/com/here/routing/RoutingExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Search/app/src/main/java/com/here/search/MainActivity.java b/examples/latest/explore/android/Search/app/src/main/java/com/here/search/MainActivity.java index da93d90a..c0cf5a9a 100644 --- a/examples/latest/explore/android/Search/app/src/main/java/com/here/search/MainActivity.java +++ b/examples/latest/explore/android/Search/app/src/main/java/com/here/search/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Search/app/src/main/java/com/here/search/PermissionsRequestor.java b/examples/latest/explore/android/Search/app/src/main/java/com/here/search/PermissionsRequestor.java index 218cf694..3f10e284 100644 --- a/examples/latest/explore/android/Search/app/src/main/java/com/here/search/PermissionsRequestor.java +++ b/examples/latest/explore/android/Search/app/src/main/java/com/here/search/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Search/app/src/main/java/com/here/search/SearchExample.java b/examples/latest/explore/android/Search/app/src/main/java/com/here/search/SearchExample.java index 58b15453..b6925699 100644 --- a/examples/latest/explore/android/Search/app/src/main/java/com/here/search/SearchExample.java +++ b/examples/latest/explore/android/Search/app/src/main/java/com/here/search/SearchExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/StandAloneEngine/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java b/examples/latest/explore/android/StandAloneEngine/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java index 198b33cd..a3202a0f 100644 --- a/examples/latest/explore/android/StandAloneEngine/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java +++ b/examples/latest/explore/android/StandAloneEngine/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/MainActivity.java b/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/MainActivity.java index 0b7104ee..e9f89328 100644 --- a/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/MainActivity.java +++ b/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/PermissionsRequestor.java b/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/PermissionsRequestor.java index d3ac2de8..84904cd0 100644 --- a/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/PermissionsRequestor.java +++ b/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/TrafficExample.java b/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/TrafficExample.java index 0aa75cb4..a29df203 100644 --- a/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/TrafficExample.java +++ b/examples/latest/explore/android/Traffic/app/src/main/java/com/here/traffic/TrafficExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/MainActivity.java b/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/MainActivity.java index ffcabcee..95a14610 100644 --- a/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/MainActivity.java +++ b/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/PermissionsRequestor.java b/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/PermissionsRequestor.java index 5925d4e3..49d10ee3 100644 --- a/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/PermissionsRequestor.java +++ b/examples/latest/explore/android/UnitTesting/app/src/main/java/com/here/unittesting/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/android/UnitTesting/app/src/test/java/com/here/TestBasicTypes.java b/examples/latest/explore/android/UnitTesting/app/src/test/java/com/here/TestBasicTypes.java index 97826cb1..3f233314 100644 --- a/examples/latest/explore/android/UnitTesting/app/src/test/java/com/here/TestBasicTypes.java +++ b/examples/latest/explore/android/UnitTesting/app/src/test/java/com/here/TestBasicTypes.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/project.pbxproj index e0e9ce32..1dec64bb 100644 --- a/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/project.pbxproj @@ -156,7 +156,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/camera_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/project.pbxproj index 9ddbb4a9..5d1c7062 100644 --- a/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/project.pbxproj @@ -155,7 +155,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index c87d15a3..a6b826db 100644 --- a/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/camera_keyframe_tracks_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/project.pbxproj index 27a2a7fa..e1087f51 100644 --- a/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/custom_map_styles_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/project.pbxproj index 27a2a7fa..e1087f51 100644 --- a/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/custom_raster_layers_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/project.pbxproj index 2626eca3..168a52b0 100644 --- a/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index f3607272..84db7a2f 100644 --- a/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/ev_routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/project.pbxproj index 09045fe2..e575e8f6 100644 --- a/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/gestures_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/project.pbxproj index 878edfb3..96bce56a 100644 --- a/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/hello_map_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/project.pbxproj index 27a2a7fa..e1087f51 100644 --- a/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/map_items_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/project.pbxproj index 2626eca3..168a52b0 100644 --- a/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/public_transit_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/project.pbxproj index 2626eca3..168a52b0 100644 --- a/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/routing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ spans = section.spans; List tolls = section.tolls; - if (!tolls.isEmpty) { + if (tolls.isNotEmpty) { print("Attention: This route may require tolls to be paid."); } for (Toll toll in tolls) { @@ -288,9 +288,9 @@ class RoutingExample { // Animate to the route within a duration of 3 seconds. MapCameraUpdate update = MapCameraUpdateFactory.lookAtAreaWithGeoOrientationAndViewRectangle( - route!.boundingBox, GeoOrientationUpdate(bearing, tilt), mapViewport); + route.boundingBox, GeoOrientationUpdate(bearing, tilt), mapViewport); MapCameraAnimation animation = MapCameraAnimationFactory.createAnimationFromUpdateWithEasing( - update, const Duration(milliseconds: 3000), Easing(EasingFunction.inCubic)); + update, const Duration(milliseconds: 3000), here.Easing(here.EasingFunction.inCubic)); _hereMapController.camera.startAnimation(animation); } } diff --git a/examples/latest/explore/flutter/routing_app/lib/main.dart b/examples/latest/explore/flutter/routing_app/lib/main.dart index c77b687c..db66296e 100644 --- a/examples/latest/explore/flutter/routing_app/lib/main.dart +++ b/examples/latest/explore/flutter/routing_app/lib/main.dart @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/flutter/routing_app/pubspec.yaml b/examples/latest/explore/flutter/routing_app/pubspec.yaml index 50cd1e52..734fca92 100644 --- a/examples/latest/explore/flutter/routing_app/pubspec.yaml +++ b/examples/latest/explore/flutter/routing_app/pubspec.yaml @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/project.pbxproj index 2626eca3..168a52b0 100644 --- a/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/search_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/project.pbxproj index 2626eca3..168a52b0 100644 --- a/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/traffic_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/project.pbxproj b/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/project.pbxproj index 805bbca9..96bce56a 100644 --- a/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/project.pbxproj @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -234,7 +234,7 @@ files = ( ); inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", ); name = "Thin Binary"; outputPaths = ( diff --git a/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..b52b2e69 100644 --- a/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/latest/explore/flutter/unit_testing_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.19.6 <4.0.0" - flutter: ">=3.7.12" + sdk: ">=3.1.5 <4.0.0" + flutter: ">=3.13.9" dependencies: flutter: diff --git a/examples/latest/explore/ios/Camera/Camera/AppDelegate.swift b/examples/latest/explore/ios/Camera/Camera/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/Camera/Camera/AppDelegate.swift +++ b/examples/latest/explore/ios/Camera/Camera/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Camera/Camera/CameraExample.swift b/examples/latest/explore/ios/Camera/Camera/CameraExample.swift index 00174ac6..a161deec 100644 --- a/examples/latest/explore/ios/Camera/Camera/CameraExample.swift +++ b/examples/latest/explore/ios/Camera/Camera/CameraExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Camera/Camera/ViewController.swift b/examples/latest/explore/ios/Camera/Camera/ViewController.swift index 3aad54b8..d051ba91 100644 --- a/examples/latest/explore/ios/Camera/Camera/ViewController.swift +++ b/examples/latest/explore/ios/Camera/Camera/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/AppDelegate.swift b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/AppDelegate.swift +++ b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/CameraKeyframeTracksExample.swift b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/CameraKeyframeTracksExample.swift index 19bbd2ba..456ce776 100644 --- a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/CameraKeyframeTracksExample.swift +++ b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/CameraKeyframeTracksExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/MenuViewController.swift b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/MenuViewController.swift index 61add111..53561ce5 100644 --- a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/MenuViewController.swift +++ b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/MenuViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteAnimationExample.swift b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteAnimationExample.swift index 245618f4..61b47bfe 100644 --- a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteAnimationExample.swift +++ b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteAnimationExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteCalculator.swift b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteCalculator.swift index 035fd580..b87b9716 100644 --- a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteCalculator.swift +++ b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/RouteCalculator.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/ViewController.swift b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/ViewController.swift index 617dc833..077a5510 100644 --- a/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/ViewController.swift +++ b/examples/latest/explore/ios/CameraKeyframeTracks/CameraKeyframeTracks/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/AppDelegate.swift b/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/AppDelegate.swift +++ b/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/CustomMapStylesExample.swift b/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/CustomMapStylesExample.swift index 4b06bd5d..27f8ed9d 100644 --- a/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/CustomMapStylesExample.swift +++ b/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/CustomMapStylesExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/ViewController.swift b/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/ViewController.swift index 462ca70b..982e7dcc 100644 --- a/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/ViewController.swift +++ b/examples/latest/explore/ios/CustomMapStyles/CustomMapStyles/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/AppDelegate.swift b/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/AppDelegate.swift +++ b/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/CustomRasterLayersExample.swift b/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/CustomRasterLayersExample.swift index 76d89a51..d44b7ead 100644 --- a/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/CustomRasterLayersExample.swift +++ b/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/CustomRasterLayersExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/ViewController.swift b/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/ViewController.swift index 2a3eb337..8b354998 100644 --- a/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/ViewController.swift +++ b/examples/latest/explore/ios/CustomRasterLayers/CustomRasterLayers/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/EVRouting/EVRouting/AppDelegate.swift b/examples/latest/explore/ios/EVRouting/EVRouting/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/EVRouting/EVRouting/AppDelegate.swift +++ b/examples/latest/explore/ios/EVRouting/EVRouting/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/EVRouting/EVRouting/RoutingExample.swift b/examples/latest/explore/ios/EVRouting/EVRouting/RoutingExample.swift index dd29dfba..a6a80265 100644 --- a/examples/latest/explore/ios/EVRouting/EVRouting/RoutingExample.swift +++ b/examples/latest/explore/ios/EVRouting/EVRouting/RoutingExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/EVRouting/EVRouting/ViewController.swift b/examples/latest/explore/ios/EVRouting/EVRouting/ViewController.swift index 3e0957e8..192b17df 100644 --- a/examples/latest/explore/ios/EVRouting/EVRouting/ViewController.swift +++ b/examples/latest/explore/ios/EVRouting/EVRouting/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Gestures/Gestures/AppDelegate.swift b/examples/latest/explore/ios/Gestures/Gestures/AppDelegate.swift index 54648870..d76d9541 100644 --- a/examples/latest/explore/ios/Gestures/Gestures/AppDelegate.swift +++ b/examples/latest/explore/ios/Gestures/Gestures/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Gestures/Gestures/GestureMapAnimator.swift b/examples/latest/explore/ios/Gestures/Gestures/GestureMapAnimator.swift index d374bc01..088ec702 100644 --- a/examples/latest/explore/ios/Gestures/Gestures/GestureMapAnimator.swift +++ b/examples/latest/explore/ios/Gestures/Gestures/GestureMapAnimator.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Gestures/Gestures/GesturesExample.swift b/examples/latest/explore/ios/Gestures/Gestures/GesturesExample.swift index 84fc98fc..fa642399 100644 --- a/examples/latest/explore/ios/Gestures/Gestures/GesturesExample.swift +++ b/examples/latest/explore/ios/Gestures/Gestures/GesturesExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Gestures/Gestures/ViewController.swift b/examples/latest/explore/ios/Gestures/Gestures/ViewController.swift index 20e58f1f..36cf873d 100644 --- a/examples/latest/explore/ios/Gestures/Gestures/ViewController.swift +++ b/examples/latest/explore/ios/Gestures/Gestures/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMap/HelloMap/AppDelegate.swift b/examples/latest/explore/ios/HelloMap/HelloMap/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/HelloMap/HelloMap/AppDelegate.swift +++ b/examples/latest/explore/ios/HelloMap/HelloMap/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMap/HelloMap/ViewController.swift b/examples/latest/explore/ios/HelloMap/HelloMap/ViewController.swift index 7057935e..1d02dd73 100644 --- a/examples/latest/explore/ios/HelloMap/HelloMap/ViewController.swift +++ b/examples/latest/explore/ios/HelloMap/HelloMap/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/AppDelegate.swift b/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/AppDelegate.swift index 93e028df..67df132c 100644 --- a/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/AppDelegate.swift +++ b/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/CarPlayViewController.swift b/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/CarPlayViewController.swift index afeda92e..6c0661eb 100644 --- a/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/CarPlayViewController.swift +++ b/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/CarPlayViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/ViewController.swift b/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/ViewController.swift index bf59061e..b2d595f4 100644 --- a/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/ViewController.swift +++ b/examples/latest/explore/ios/HelloMapCarPlay/HelloMapCarPlay/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/AppDelegate.swift b/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/AppDelegate.swift +++ b/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/ViewController.swift b/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/ViewController.swift index 74002223..86439a2c 100644 --- a/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/ViewController.swift +++ b/examples/latest/explore/ios/HelloMapWithStoryboard/HelloMapWithStoryboard/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/MapItems/MapItems/AppDelegate.swift b/examples/latest/explore/ios/MapItems/MapItems/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/MapItems/MapItems/AppDelegate.swift +++ b/examples/latest/explore/ios/MapItems/MapItems/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/MapItems/MapItems/MapItemsExample.swift b/examples/latest/explore/ios/MapItems/MapItems/MapItemsExample.swift index a6db9baa..089f710e 100644 --- a/examples/latest/explore/ios/MapItems/MapItems/MapItemsExample.swift +++ b/examples/latest/explore/ios/MapItems/MapItems/MapItemsExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/MapItems/MapItems/MapObjectsExample.swift b/examples/latest/explore/ios/MapItems/MapItems/MapObjectsExample.swift index c9973749..8b76f15c 100644 --- a/examples/latest/explore/ios/MapItems/MapItems/MapObjectsExample.swift +++ b/examples/latest/explore/ios/MapItems/MapItems/MapObjectsExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/MapItems/MapItems/MapViewPinsExample.swift b/examples/latest/explore/ios/MapItems/MapItems/MapViewPinsExample.swift index 1f46aa26..6aa7f5a7 100644 --- a/examples/latest/explore/ios/MapItems/MapItems/MapViewPinsExample.swift +++ b/examples/latest/explore/ios/MapItems/MapItems/MapViewPinsExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/MapItems/MapItems/MenuViewController.swift b/examples/latest/explore/ios/MapItems/MapItems/MenuViewController.swift index 301e2fd2..388b5fe0 100644 --- a/examples/latest/explore/ios/MapItems/MapItems/MenuViewController.swift +++ b/examples/latest/explore/ios/MapItems/MapItems/MenuViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/MapItems/MapItems/ViewController.swift b/examples/latest/explore/ios/MapItems/MapItems/ViewController.swift index 07c113f6..327b584e 100644 --- a/examples/latest/explore/ios/MapItems/MapItems/ViewController.swift +++ b/examples/latest/explore/ios/MapItems/MapItems/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/PublicTransit/PublicTransit/AppDelegate.swift b/examples/latest/explore/ios/PublicTransit/PublicTransit/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/PublicTransit/PublicTransit/AppDelegate.swift +++ b/examples/latest/explore/ios/PublicTransit/PublicTransit/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/PublicTransit/PublicTransit/PublicTransportRoutingExample.swift b/examples/latest/explore/ios/PublicTransit/PublicTransit/PublicTransportRoutingExample.swift index cbae9315..de4277ec 100644 --- a/examples/latest/explore/ios/PublicTransit/PublicTransit/PublicTransportRoutingExample.swift +++ b/examples/latest/explore/ios/PublicTransit/PublicTransit/PublicTransportRoutingExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/PublicTransit/PublicTransit/ViewController.swift b/examples/latest/explore/ios/PublicTransit/PublicTransit/ViewController.swift index e520487c..4ecd5213 100644 --- a/examples/latest/explore/ios/PublicTransit/PublicTransit/ViewController.swift +++ b/examples/latest/explore/ios/PublicTransit/PublicTransit/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Routing/Routing/AppDelegate.swift b/examples/latest/explore/ios/Routing/Routing/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/Routing/Routing/AppDelegate.swift +++ b/examples/latest/explore/ios/Routing/Routing/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Routing/Routing/RoutingExample.swift b/examples/latest/explore/ios/Routing/Routing/RoutingExample.swift index 36d81269..bb995836 100644 --- a/examples/latest/explore/ios/Routing/Routing/RoutingExample.swift +++ b/examples/latest/explore/ios/Routing/Routing/RoutingExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Routing/Routing/ViewController.swift b/examples/latest/explore/ios/Routing/Routing/ViewController.swift index 3720c3b4..20a395f3 100644 --- a/examples/latest/explore/ios/Routing/Routing/ViewController.swift +++ b/examples/latest/explore/ios/Routing/Routing/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Search/Search/AppDelegate.swift b/examples/latest/explore/ios/Search/Search/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/Search/Search/AppDelegate.swift +++ b/examples/latest/explore/ios/Search/Search/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Search/Search/SearchExample.swift b/examples/latest/explore/ios/Search/Search/SearchExample.swift index acfe4f89..fbc951e6 100644 --- a/examples/latest/explore/ios/Search/Search/SearchExample.swift +++ b/examples/latest/explore/ios/Search/Search/SearchExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Search/Search/ViewController.swift b/examples/latest/explore/ios/Search/Search/ViewController.swift index a17df8e6..b10f0a9c 100644 --- a/examples/latest/explore/ios/Search/Search/ViewController.swift +++ b/examples/latest/explore/ios/Search/Search/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/AppDelegate.swift b/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/AppDelegate.swift index 90971d41..c6716d6b 100644 --- a/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/AppDelegate.swift +++ b/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/ViewController.swift b/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/ViewController.swift index 0eb8f15c..2b71090a 100644 --- a/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/ViewController.swift +++ b/examples/latest/explore/ios/StandAloneEngine/StandAloneEngine/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Traffic/Traffic/AppDelegate.swift b/examples/latest/explore/ios/Traffic/Traffic/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/Traffic/Traffic/AppDelegate.swift +++ b/examples/latest/explore/ios/Traffic/Traffic/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Traffic/Traffic/TrafficExample.swift b/examples/latest/explore/ios/Traffic/Traffic/TrafficExample.swift index a5757102..ad43e47b 100644 --- a/examples/latest/explore/ios/Traffic/Traffic/TrafficExample.swift +++ b/examples/latest/explore/ios/Traffic/Traffic/TrafficExample.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/Traffic/Traffic/ViewController.swift b/examples/latest/explore/ios/Traffic/Traffic/ViewController.swift index aa586bf5..5edc4ef1 100644 --- a/examples/latest/explore/ios/Traffic/Traffic/ViewController.swift +++ b/examples/latest/explore/ios/Traffic/Traffic/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/UnitTesting/UnitTesting/AppDelegate.swift b/examples/latest/explore/ios/UnitTesting/UnitTesting/AppDelegate.swift index 5eb99495..109f44b3 100644 --- a/examples/latest/explore/ios/UnitTesting/UnitTesting/AppDelegate.swift +++ b/examples/latest/explore/ios/UnitTesting/UnitTesting/AppDelegate.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/UnitTesting/UnitTesting/ViewController.swift b/examples/latest/explore/ios/UnitTesting/UnitTesting/ViewController.swift index b1334ea1..f81b3cc2 100644 --- a/examples/latest/explore/ios/UnitTesting/UnitTesting/ViewController.swift +++ b/examples/latest/explore/ios/UnitTesting/UnitTesting/ViewController.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/explore/ios/UnitTesting/UnitTests/UnitTests.swift b/examples/latest/explore/ios/UnitTesting/UnitTests/UnitTests.swift index 9153e98a..e37b7117 100644 --- a/examples/latest/explore/ios/UnitTesting/UnitTests/UnitTests.swift +++ b/examples/latest/explore/ios/UnitTesting/UnitTests/UnitTests.swift @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraAnimator.java b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraAnimator.java index 3cf814b5..17dd4156 100644 --- a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraAnimator.java +++ b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraAnimator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraExample.java b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraExample.java index 992c6231..54ae32b5 100644 --- a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraExample.java +++ b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/CameraExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/MainActivity.java b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/MainActivity.java index ae66a611..1d265f1b 100644 --- a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/MainActivity.java +++ b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java index 22e8b286..bbaa8ed5 100644 --- a/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java +++ b/examples/latest/lite/android/CameraLite/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GestureMapAnimator.java b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GestureMapAnimator.java index 58fb9ba3..aa9a8bba 100644 --- a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GestureMapAnimator.java +++ b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GestureMapAnimator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GesturesExample.java b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GesturesExample.java index e74a9be7..f0df05d6 100644 --- a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GesturesExample.java +++ b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/GesturesExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/MainActivity.java b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/MainActivity.java index ec60f6bd..88998c8e 100644 --- a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/MainActivity.java +++ b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/PermissionsRequestor.java b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/PermissionsRequestor.java index d3339c48..620e6869 100644 --- a/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/PermissionsRequestor.java +++ b/examples/latest/lite/android/GesturesLite/app/src/main/java/com/here/gestures/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/MainActivity.java b/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/MainActivity.java index 0422db07..56ec2248 100644 --- a/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/MainActivity.java +++ b/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/PermissionsRequestor.java b/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/PermissionsRequestor.java index b5dfc5dd..43757597 100644 --- a/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/PermissionsRequestor.java +++ b/examples/latest/lite/android/HelloMapLite/app/src/main/java/com/here/hellomap/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MainActivity.java b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MainActivity.java index b938a9fc..74b14012 100644 --- a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MainActivity.java +++ b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapItemsExample.java b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapItemsExample.java index 670c4331..02013bca 100644 --- a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapItemsExample.java +++ b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapItemsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapObjectsExample.java b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapObjectsExample.java index f9e7441c..b0b61578 100644 --- a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapObjectsExample.java +++ b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapObjectsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapOverlayExample.java b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapOverlayExample.java index 030fddb3..47fbd6da 100644 --- a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapOverlayExample.java +++ b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/MapOverlayExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/PermissionsRequestor.java b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/PermissionsRequestor.java index 4e9ab4a5..a73605c8 100644 --- a/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/PermissionsRequestor.java +++ b/examples/latest/lite/android/MapItemsLite/app/src/main/java/com/here/mapitems/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/MainActivity.java b/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/MainActivity.java index bb12c530..e78703aa 100644 --- a/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/MainActivity.java +++ b/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/PermissionsRequestor.java b/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/PermissionsRequestor.java index 43a1fd7c..f132c362 100644 --- a/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/PermissionsRequestor.java +++ b/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/RoutingExample.java b/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/RoutingExample.java index 02f01e49..f8541c8d 100644 --- a/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/RoutingExample.java +++ b/examples/latest/lite/android/RoutingLite/app/src/main/java/com/here/routing/RoutingExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/MainActivity.java b/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/MainActivity.java index 0d29119c..ec57401a 100644 --- a/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/MainActivity.java +++ b/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/PermissionsRequestor.java b/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/PermissionsRequestor.java index 218cf694..3f10e284 100644 --- a/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/PermissionsRequestor.java +++ b/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/SearchExample.java b/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/SearchExample.java index 950754c5..b513b53b 100644 --- a/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/SearchExample.java +++ b/examples/latest/lite/android/SearchLite/app/src/main/java/com/here/search/SearchExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/StandAloneEngineLite/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java b/examples/latest/lite/android/StandAloneEngineLite/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java index a0e582e3..dd90894e 100644 --- a/examples/latest/lite/android/StandAloneEngineLite/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java +++ b/examples/latest/lite/android/StandAloneEngineLite/app/src/main/java/com/here/sdk/standaloneengine/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/MainActivity.java b/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/MainActivity.java index efb27206..0a32abd9 100644 --- a/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/MainActivity.java +++ b/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/PermissionsRequestor.java b/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/PermissionsRequestor.java index d3ac2de8..84904cd0 100644 --- a/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/PermissionsRequestor.java +++ b/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/TrafficExample.java b/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/TrafficExample.java index eb9446b9..37e644d5 100644 --- a/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/TrafficExample.java +++ b/examples/latest/lite/android/TrafficLite/app/src/main/java/com/here/traffic/TrafficExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java b/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java index 5cdfe683..3e851103 100644 --- a/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java +++ b/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/CameraExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java b/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java index 13310043..876e0aff 100644 --- a/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java +++ b/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java b/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java index 22e8b286..bbaa8ed5 100644 --- a/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java +++ b/examples/latest/navigate/android/Camera/app/src/main/java/com/here/sdk/camera/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java index 6581f2b8..231d8ac7 100644 --- a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java +++ b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java index 33597e1e..1265ff59 100644 --- a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java +++ b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java index 387dfc51..338bdc06 100644 --- a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java +++ b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java index 8c3a6a9c..43b1b3a5 100644 --- a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java +++ b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java index d2c39abf..3497fb99 100644 --- a/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java +++ b/examples/latest/navigate/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteCalculator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/MainActivity.java b/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/MainActivity.java index 7484893e..944c3f31 100644 --- a/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/MainActivity.java +++ b/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import com.here.cartopoipicking.PermissionsRequestor.ResultListener; import com.here.sdk.core.GeoCoordinates; import com.here.sdk.core.LanguageCode; +import com.here.sdk.core.PickedPlace; import com.here.sdk.core.Point2D; import com.here.sdk.core.Rectangle2D; import com.here.sdk.core.Size2D; @@ -179,30 +180,29 @@ public void onPickMapContent(@Nullable PickMapContentResult pickMapContentResult return; } - handlePickedCartoPOIs(pickMapContentResult.getPois()); + handlePickedCartoPOIs(pickMapContentResult.getPickedPlaces()); handlePickedTrafficIncidents(pickMapContentResult.getTrafficIncidents()); handlePickedVehicleRestrictions(pickMapContentResult.getVehicleRestrictions()); } }); } - private void handlePickedCartoPOIs(List cartoPOIList) { + private void handlePickedCartoPOIs(List cartoPOIList) { int listSize = cartoPOIList.size(); if (listSize == 0) { return; } - PickMapContentResult.PoiResult topmostCartoPOI = cartoPOIList.get(0); - showDialog("Carto POI picked:", topmostCartoPOI.name + ", Location: " + - topmostCartoPOI.coordinates.latitude + ", " + - topmostCartoPOI.coordinates.longitude + ". " + + PickedPlace topmostPickedPlace = cartoPOIList.get(0); + showDialog("Carto POI picked:", topmostPickedPlace.name + ", Location: " + + topmostPickedPlace.coordinates.latitude + ", " + + topmostPickedPlace.coordinates.longitude + ". " + "See log for more place details."); - // Now you can use the SearchEngine (via PickedPlace) or the OfflineSearchEngine + // Now you can use the SearchEngine (via PickedPlace) or the OfflineSearchEngine, when available for your edition, // (via PickedPlace or offlineSearchId) to retrieve the Place object containing more details. - // Below we use the offlineSearchId. Alternatively, you can use the - // PickMapContentResult as data to create a PickedPlace object. - fetchCartoPOIDetails(topmostCartoPOI.offlineSearchId); + // Below we use the offlineSearchId. + fetchCartoPOIDetails(topmostPickedPlace.offlineSearchId); } // The ID is only given for cached or downloaded maps data. diff --git a/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/PermissionsRequestor.java b/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/PermissionsRequestor.java index 0158415b..242c9623 100644 --- a/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/PermissionsRequestor.java +++ b/examples/latest/navigate/android/CartoPOIPicking/app/src/main/java/com/here/cartopoipicking/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java b/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java index 5e288d44..989896a4 100644 --- a/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java +++ b/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/CustomMapStylesExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java b/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java index fec6c2c3..daff8758 100644 --- a/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java +++ b/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java b/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java index f48d6554..1528b93f 100644 --- a/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java +++ b/examples/latest/navigate/android/CustomMapStyles/app/src/main/java/com/here/sdk/custommapstyles/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java b/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java index 89202d3c..da4ea466 100644 --- a/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java +++ b/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/CustomRasterLayersExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java b/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java index 5c445f5d..a16166c1 100644 --- a/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java +++ b/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java b/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java index 67eff84c..bc8b8c30 100644 --- a/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java +++ b/examples/latest/navigate/android/CustomRasterLayers/app/src/main/java/com/here/sdk/customrasterlayers/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java b/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java index 80d95f24..02c57188 100644 --- a/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java +++ b/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/EVRoutingExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java b/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java index 703384da..4ac9dcdb 100644 --- a/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java +++ b/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java b/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java index 815b759e..8567192d 100644 --- a/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java +++ b/examples/latest/navigate/android/EVRouting/app/src/main/java/com/here/evrouting/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java index a86818b2..4be54c7c 100644 --- a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java +++ b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GestureMapAnimator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java index d1d3c5f1..737e09df 100644 --- a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java +++ b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/GesturesExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java index bb0bfff1..53fb4821 100644 --- a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java +++ b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java index d3339c48..620e6869 100644 --- a/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java +++ b/examples/latest/navigate/android/Gestures/app/src/main/java/com/here/gestures/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java b/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java index 445c015a..c80ca083 100644 --- a/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java +++ b/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java b/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java index b5dfc5dd..43757597 100644 --- a/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java +++ b/examples/latest/navigate/android/HelloMap/app/src/main/java/com/here/hellomap/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java index 5e18ea79..9abb5ffb 100644 --- a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java +++ b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HERESDKLifecycle.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java index ae269d69..b7d79ef4 100644 --- a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java +++ b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapCarAppService.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java index 688ced79..f3ddc328 100644 --- a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java +++ b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/HelloMapScreen.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java index 18a7ba82..c51ec73e 100644 --- a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java +++ b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java index 1727ea8b..b2e522a8 100644 --- a/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java +++ b/examples/latest/navigate/android/HelloMapAndroidAuto/app/src/main/java/com/here/hellomapandroidauto/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt b/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt index 8b6ca4e2..dbfdeb7a 100644 --- a/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt +++ b/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/MainActivity.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt b/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt index ba1cbd22..0b892465 100644 --- a/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt +++ b/examples/latest/navigate/android/HelloMapKotlin/app/src/main/java/com/here/hellomap/PermissionsRequestor.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java b/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java index 6cec29ef..326c7712 100644 --- a/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java +++ b/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java b/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java index 060408f6..c111cdbb 100644 --- a/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java +++ b/examples/latest/navigate/android/HelloMapSurface/app/src/main/java/com/here/hellomapsurface/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/ConsentStateActivity.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/ConsentStateActivity.java index a9621c1b..970f291c 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/ConsentStateActivity.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/ConsentStateActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/GPXManager.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/GPXManager.java index 4da6e733..7c6a1541 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/GPXManager.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/GPXManager.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HEREBackgroundPositioningServiceProvider.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HEREBackgroundPositioningServiceProvider.java index 6d8cc091..a425248e 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HEREBackgroundPositioningServiceProvider.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HEREBackgroundPositioningServiceProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HikingApp.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HikingApp.java index 4f5db38c..b703a548 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HikingApp.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/HikingApp.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/MainActivity.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/MainActivity.java index d86445c7..f65962aa 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/MainActivity.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/OutdoorRasterLayer.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/OutdoorRasterLayer.java index dce2de9c..0d50b4ae 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/OutdoorRasterLayer.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/OutdoorRasterLayer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/PermissionsRequestor.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/PermissionsRequestor.java index 0ea2ab1e..d9109454 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/PermissionsRequestor.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/BackgroundServiceListener.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/BackgroundServiceListener.java index a85e931e..50b38288 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/BackgroundServiceListener.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/BackgroundServiceListener.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/HEREBackgroundPositioningService.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/HEREBackgroundPositioningService.java index 6410258a..3245466d 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/HEREBackgroundPositioningService.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/HEREBackgroundPositioningService.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2023 HERE Europe B.V. + * Copyright (C) 2023-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/NotificationUtils.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/NotificationUtils.java index 7761b76d..5d03d230 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/NotificationUtils.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/backgroundpositioning/NotificationUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/positioning/HEREPositioningSimulator.java b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/positioning/HEREPositioningSimulator.java index 34207866..74a3cfa2 100644 --- a/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/positioning/HEREPositioningSimulator.java +++ b/examples/latest/navigate/android/HikingDiary/app/src/main/java/com/here/hikingdiary/positioning/HEREPositioningSimulator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022-2023 HERE Europe B.V. + * Copyright (C) 2022-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/IndoorMap/app/build.gradle b/examples/latest/navigate/android/IndoorMap/app/build.gradle index 158f6846..236518fb 100644 --- a/examples/latest/navigate/android/IndoorMap/app/build.gradle +++ b/examples/latest/navigate/android/IndoorMap/app/build.gradle @@ -27,4 +27,7 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude : ['*mock*.jar']) implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.1' + implementation 'com.google.android.material:material:1.9.0' + implementation "androidx.recyclerview:recyclerview:1.3.1" + implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' } diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/AlertHandler.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/AlertHandler.java new file mode 100644 index 00000000..e2fb6d96 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/AlertHandler.java @@ -0,0 +1,40 @@ +package com.here.sdk.examples.venues; + +import android.app.Dialog; +import android.content.Context; +import android.graphics.Color; +import android.os.Bundle; +import android.view.View; +import android.view.Window; +import android.widget.ImageButton; +import android.widget.ImageView; +import android.widget.TextView; + +import androidx.annotation.NonNull; + +public class AlertHandler extends Dialog { + ImageView cancle; + TextView msg; + String errorMsg; + public AlertHandler(@NonNull Context context, String error) { + super(context); + errorMsg = error; + } + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + requestWindowFeature(Window.FEATURE_NO_TITLE); + setContentView(R.layout.alert_layout); + msg = findViewById(R.id.alertText); + msg.setText(errorMsg); + cancle = findViewById(R.id.alertCancle); + //cancle.setBackgroundColor(Color.TRANSPARENT); + cancle.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + dismiss(); + } + }); + } +} diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/DrawingSwitcher.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/DrawingSwitcher.java index af42255c..121225dc 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/DrawingSwitcher.java +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/DrawingSwitcher.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,17 +19,21 @@ package com.here.sdk.examples.venues; +import android.app.Activity; import android.content.Context; import android.content.res.TypedArray; import android.graphics.drawable.GradientDrawable; import android.util.AttributeSet; +import android.util.Log; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.Button; +import android.widget.ImageButton; import android.widget.LinearLayout; +import android.widget.ListAdapter; import android.widget.ListView; import com.here.sdk.venue.control.VenueDrawingSelectionListener; @@ -45,71 +49,21 @@ import java.util.Map; // Allows to select a drawing inside a venue trough UI. -public class DrawingSwitcher - extends LinearLayout implements View.OnClickListener, AdapterView.OnItemClickListener { - - private final Context context; +public class DrawingSwitcher implements View.OnClickListener, AdapterView.OnItemClickListener { + private Context context; private VenueMap venueMap; private Venue venue; - private Button titleView; + private ImageButton titleView; private ListView listView; private boolean collapsed; - private final int listTextSize; - private final int listTextColor; - public DrawingSwitcher(Context context, AttributeSet attrs) { - super(context, attrs); + public DrawingSwitcher(Context context, ImageButton imageButton, ListView listView) { this.context = context; - - // Set up a visual style of DrawingSwitcher - TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DrawingSwitcher, 0, 0); - int borderWidth = a.getDimensionPixelSize(R.styleable.DrawingSwitcher_borderWidth, 2); - int borderColor = - a.getDimensionPixelSize(R.styleable.DrawingSwitcher_borderColor, 0xFF888888); - int titleHeight = a.getDimensionPixelSize(R.styleable.DrawingSwitcher_titleHeight, 35); - int titleBackground = - a.getDimensionPixelSize(R.styleable.DrawingSwitcher_titleTextColor, 0xCCFFFFFF); - int titleTextSize = a.getDimensionPixelSize(R.styleable.DrawingSwitcher_titleTextSize, 15); - int titleTextColor = - a.getDimensionPixelSize(R.styleable.DrawingSwitcher_titleTextColor, 0xFF444444); - int listHeight = a.getDimensionPixelSize(R.styleable.DrawingSwitcher_listHeight, 140); - int listBackground = - a.getDimensionPixelSize(R.styleable.DrawingSwitcher_titleTextColor, 0xDDFFFFFF); - listTextSize = a.getDimensionPixelSize(R.styleable.DrawingSwitcher_listTextSize, 14); - listTextColor = - a.getDimensionPixelSize(R.styleable.DrawingSwitcher_titleTextColor, 0xFF444444); - a.recycle(); - - setOrientation(LinearLayout.VERTICAL); - setGravity(Gravity.TOP); - - // Set up a visual style of title, which contains information about the selected drawing. - LayoutInflater.from(context).inflate(R.layout.drawing_switcher, this, true); - titleView = findViewById(R.id.drawing_title_button); + this.titleView = imageButton; + this.listView = listView; titleView.setVisibility(View.GONE); - ViewGroup.LayoutParams titleViewParams = titleView.getLayoutParams(); - titleViewParams.height = titleHeight; - titleView.setLayoutParams(titleViewParams); - GradientDrawable titleDrawable = new GradientDrawable(); - titleDrawable.setColor(titleBackground); - titleDrawable.setStroke(borderWidth, borderColor); - titleView.setBackground(titleDrawable); - titleView.setTextSize(titleTextSize); - titleView.setTextColor(titleTextColor); - - // Set up a visual style of list with all drawings. - listView = findViewById(R.id.drawing_list); listView.setVisibility(View.GONE); - ViewGroup.LayoutParams listViewParams = listView.getLayoutParams(); - listViewParams.height = listHeight; - listView.setLayoutParams(listViewParams); - GradientDrawable listDrawable = new GradientDrawable(); - listDrawable.setColor(listBackground); - listDrawable.setStroke(borderWidth, borderColor); - listView.setBackground(listDrawable); - - // Set listeners for title and list's items clicks. titleView.setOnClickListener(this); listView.setOnItemClickListener(this); @@ -133,10 +87,6 @@ public DrawingSwitcher(Context context, AttributeSet attrs) { // Update DrawingSwitcher with a new selected drawing. DrawingSwitcher.this.onDrawingSelected(selectedController); - public DrawingSwitcher(Context context) { - this(context, null); - } - @Override protected void finalize() throws Throwable { removeListeners(); @@ -167,7 +117,6 @@ public void onClick(View v) { @Override public void onItemClick(AdapterView parent, final View view, int position, long id) { - titleView.setText((String) listView.getAdapter().getItem(position)); VenueModel venueModel = venue.getVenueModel(); // Set the selected drawing when a user clicks on the item in the list. venue.setSelectedDrawing(venueModel.getDrawings().get(position)); @@ -190,6 +139,8 @@ private String getDrawingName(VenueDrawing drawing) { private void setVenue(Venue venue) { this.venue = venue; int count = 0; + int height = 0; + ListAdapter listAdapter; if (this.venue != null) { // Get names of drawings. VenueModel venueModel = this.venue.getVenueModel(); @@ -202,16 +153,26 @@ private void setVenue(Venue venue) { // Set a name of the selected drawings String selectedDrawingName = getDrawingName(this.venue.getSelectedDrawing()); - titleView.setText(selectedDrawingName); // Set a new adapter with the new list of drawing's names. final StringArrayAdapter adapter = - new StringArrayAdapter(context, drawingNames, listTextSize, listTextColor); + new StringArrayAdapter(context, drawingNames); + ViewGroup.MarginLayoutParams margin = (ViewGroup.MarginLayoutParams) listView.getLayoutParams(); listView.setAdapter(adapter); + listAdapter = listView.getAdapter(); + for(int i=0; i 1); + } // Updates the title with a new selected drawing. @@ -220,10 +181,9 @@ private void onDrawingSelected(final VenueDrawing selectedDrawing) { return; } String selectedDrawingName = getDrawingName(selectedDrawing); - titleView.setText(selectedDrawingName); } - private void setVisible(boolean visible) { + public void setVisible(boolean visible) { titleView.setVisibility(visible ? View.VISIBLE : View.GONE); if (!collapsed) { listView.setVisibility(visible ? View.VISIBLE : View.GONE); diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelAdapter.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelAdapter.java deleted file mode 100644 index e94c121e..00000000 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelAdapter.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2019-2023 HERE Europe B.V. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - * License-Filename: LICENSE - */ - -package com.here.sdk.examples.venues; - -import android.view.View; -import android.view.ViewGroup; -import android.widget.BaseAdapter; - -import com.here.sdk.venue.data.VenueLevel; - -import java.util.ArrayList; -import java.util.List; - -// Adapter that connects levels with LevelSwitcher. -class LevelAdapter extends BaseAdapter { - private final List levels; - - LevelAdapter(List levels) { - this.levels = new ArrayList<>(); - - for (int i = levels.size() - 1; i >= 0; i--) { - VenueLevel level = levels.get(i); - this.levels.add(level); - } - } - - @Override - public int getCount() { - return levels.size(); - } - - @Override - public Object getItem(int position) { - return levels.get(position); - } - - @Override - public long getItemId(int position) { - return position; - } - - @Override - public View getView(int position, View convertView, ViewGroup parent) { - LevelItemView item; - if (convertView instanceof LevelItemView) { - item = (LevelItemView) convertView; - } else { - item = new LevelItemView(parent.getContext()); - } - VenueLevel level = levels.get(position); - // Sets the level's short name as a text of the item. - item.setText(level.getShortName()); - - // If the level is the main one, visually separates it from the levels below it. - item.setShowSeparator(level.isMainLevel() && position != levels.size() - 1); - return item; - } -} diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelItemView.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelItemView.java deleted file mode 100644 index 58d94975..00000000 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelItemView.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2019-2023 HERE Europe B.V. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - * License-Filename: LICENSE - */ - -package com.here.sdk.examples.venues; - -import android.content.Context; -import android.os.Build; -import android.view.LayoutInflater; -import android.view.View; -import android.widget.RelativeLayout; -import android.widget.TextView; - -// Represents a level inside LevelSwitcher. -class LevelItemView extends RelativeLayout { - private TextView textView; - private View separator; - - public LevelItemView(Context context) { - super(context); - - LayoutInflater.from(context).inflate(R.layout.level_item, this, true); - textView = findViewById(R.id.levelName); - separator = findViewById(R.id.levelGroundSep); - - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { - textView.setAutoSizeTextTypeWithDefaults(TextView.AUTO_SIZE_TEXT_TYPE_UNIFORM); - } - } - - public void setText(CharSequence text) { - textView.setText(text); - } - - public void setShowSeparator(boolean isVisible) { - separator.setVisibility(isVisible ? View.VISIBLE : View.INVISIBLE); - } -} diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelSwitcher.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelSwitcher.java index d56f18de..572ae79b 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelSwitcher.java +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/LevelSwitcher.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,8 +23,13 @@ import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; +import android.view.ViewGroup; +import android.widget.BaseAdapter; +import android.widget.ImageButton; import android.widget.LinearLayout; import android.widget.ListView; +import android.widget.RelativeLayout; +import android.widget.TextView; import com.here.sdk.venue.control.VenueDrawingSelectionListener; import com.here.sdk.venue.control.VenueLevelSelectionListener; @@ -34,20 +39,91 @@ import com.here.sdk.venue.data.VenueDrawing; import com.here.sdk.venue.data.VenueLevel; +import java.util.ArrayList; import java.util.List; +class LevelItemView extends RelativeLayout { + private TextView textView; + private View separator; + + public LevelItemView(Context context) { + super(context); + + LayoutInflater.from(context).inflate(R.layout.level_item, this, true); + textView = findViewById(R.id.levelName); + separator = findViewById(R.id.levelGroundSep); + } + + public void setText(CharSequence text) { + textView.setText(text); + } + + public void setShowSeparator(boolean isVisible) { + separator.setVisibility(isVisible ? View.VISIBLE : View.INVISIBLE); + } +} + +class LevelAdapter extends BaseAdapter { + private final List levels; + + LevelAdapter(List levels) { + this.levels = new ArrayList<>(); + + for (int i = levels.size() - 1; i >= 0; i--) { + VenueLevel level = levels.get(i); + this.levels.add(level); + } + } + + @Override + public int getCount() { + return levels.size(); + } + + @Override + public Object getItem(int position) { + return levels.get(position); + } + + @Override + public long getItemId(int position) { + return position; + } + + @Override + public View getView(int position, View convertView, ViewGroup parent) { + LevelItemView item; + if (convertView instanceof LevelItemView) { + item = (LevelItemView) convertView; + } else { + item = new LevelItemView(parent.getContext()); + } + VenueLevel level = levels.get(position); + // Sets the level's short name as a text of the item. + item.setText(level.getShortName()); + + // If the level is the main one, visually separates it from the levels below it. + item.setShowSeparator(level.isMainLevel() && position != levels.size() - 1); + return item; + } +} + // Allows to select a level inside a venue trough UI. public class LevelSwitcher extends LinearLayout { private VenueMap venueMap = null; private VenueDrawing drawing = null; private int maxLevelIndex = -1; private ListView listView; + private ImageButton levelUp, levelDown; + private static int MAX_LEVEL_TO_SHOW = 3; public LevelSwitcher(Context context, AttributeSet attrs) { super(context, attrs); LayoutInflater.from(context).inflate(R.layout.level_switcher, this, true); - listView = (ListView) getChildAt(0); + listView = findViewById(R.id.levelList); + levelUp = findViewById(R.id.LevelArrowUp); + levelDown = findViewById(R.id.LevelArrowDown); // Select a level, if the user clicks on the item. listView.setOnItemClickListener((parent, view, position, id) -> { if (venueMap.getSelectedVenue() != null) { @@ -55,6 +131,18 @@ public LevelSwitcher(Context context, AttributeSet attrs) { venueMap.getSelectedVenue().setSelectedLevelIndex(maxLevelIndex - position); } }); + levelUp.setOnClickListener(new OnClickListener() { + @Override + public void onClick(View view) { + listView.smoothScrollByOffset(1); + } + }); + levelDown.setOnClickListener(new OnClickListener() { + @Override + public void onClick(View view) { + listView.smoothScrollByOffset(-1); + } + }); setVisibility(View.GONE); } @@ -127,6 +215,20 @@ private void setCurrentDrawing(final VenueDrawing drawing) { listView.setAdapter(adapter); setVisibility(View.VISIBLE); adapter.notifyDataSetChanged(); + View view = adapter.getView(0,null, listView); + view.measure(0,0); + ViewGroup.LayoutParams params = listView.getLayoutParams(); + params.height = levels.size() * view.getMeasuredHeight(); + listView.setLayoutParams(params); + if(levels.size() > MAX_LEVEL_TO_SHOW) + { + view = adapter.getView(0,null, listView); + view.measure(0,0); + params = listView.getLayoutParams(); + params.height = MAX_LEVEL_TO_SHOW * view.getMeasuredHeight(); + listView.setLayoutParams(params); + } + // Set a currently selected level if there is the selected venue. Venue venue = venueMap.getSelectedVenue(); @@ -149,4 +251,8 @@ private void setSelectedLevelIndex(int levelIndex) { listView.smoothScrollToPosition(index); listView.setItemChecked(index, true); } + + public void setVisible(boolean visible) { + setVisibility(visible ? View.VISIBLE : View.GONE); + } } diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/MainActivity.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/MainActivity.java index 33bce640..06d11880 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/MainActivity.java +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/MainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,21 +21,41 @@ import android.content.Context; import android.content.DialogInterface; +import android.graphics.Color; +import android.graphics.drawable.ColorDrawable; import android.os.Bundle; +import android.text.Editable; +import android.text.TextWatcher; import android.util.Log; +import android.view.Gravity; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; +import android.widget.ImageButton; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.ListView; +import android.widget.ProgressBar; +import android.widget.RelativeLayout; import android.widget.Spinner; +import android.widget.TextView; +import android.widget.ToggleButton; import androidx.annotation.NonNull; +import androidx.annotation.Nullable; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import com.google.android.material.bottomsheet.BottomSheetBehavior; +import com.google.android.material.bottomsheet.BottomSheetDialog; +import com.here.sdk.core.Anchor2D; import com.here.sdk.core.GeoCoordinates; +import com.here.sdk.core.Point2D; import com.here.sdk.core.engine.SDKNativeEngine; import com.here.sdk.core.engine.SDKOptions; import com.here.sdk.core.errors.InstantiationErrorException; @@ -50,12 +70,15 @@ import com.here.sdk.venue.control.VenueErrorCode; import com.here.sdk.venue.control.VenueMap; import com.here.sdk.venue.control.VenueSelectionListener; +import com.here.sdk.venue.data.VenueGeometry; import com.here.sdk.venue.data.VenueGeometryFilterType; import com.here.sdk.venue.data.VenueInfo; +import com.here.sdk.venue.data.VenueModel; import com.here.sdk.venue.service.VenueListener; import com.here.sdk.venue.service.VenueService; import com.here.sdk.venue.service.VenueServiceInitStatus; import com.here.sdk.venue.service.VenueServiceListener; +import com.here.sdk.venue.style.VenueStyle; import java.util.ArrayList; import java.util.Arrays; @@ -67,15 +90,28 @@ public class MainActivity extends AppCompatActivity { private PermissionsRequestor permissionsRequestor; private MapView mapView; private VenueEngine venueEngine; - private Button goButton; private DrawingSwitcher drawingSwitcher; private LevelSwitcher levelSwitcher; private VenueTapController venueTapController; - private VenueSearchController venueSearchController; - private Spinner venueInfoListSpinner; private Integer[] venueInfoListItems; private int selectedVenueId; + private RecyclerView recyclerView; + private LinearLayout bottomSheet; + private BottomSheetBehavior sheetBehavior; + private EditText venue_search; + private List venueInfo = new ArrayList<>(); + private List geometryList; + private Boolean mapLoadDone = false; + private ImageButton drawingButton; + private ListView drawingList; + private LinearLayout header; + private ImageButton backButton; + private ImageView cancle_text; + private TextView venueName; + private ProgressBar progressBar, progressBarBottom; + private ToggleButton topologyButton; + // Set value for hrn with your platform catalog HRN value if you wan t to load non default collection. private String HRN = "YOUR_CATALOG_HRN"; @@ -96,14 +132,106 @@ protected void onCreate(Bundle savedInstanceState) { mapView.onCreate(savedInstanceState); // Get UI elements for selection venue by id. - venueInfoListSpinner = findViewById(R.id.VenueInfoList); - goButton = findViewById(R.id.goButton); + progressBar = findViewById(R.id.progress_bar); + progressBarBottom = findViewById(R.id.progress_bar_bottom); + drawingButton = findViewById(R.id.drawing_switcher_button); + drawingList = findViewById(R.id.drawingList); + drawingSwitcher = new DrawingSwitcher(this, drawingButton, drawingList); // Get drawing and level UI switchers. - drawingSwitcher = findViewById(R.id.drawing_switcher); levelSwitcher = findViewById(R.id.level_switcher); handleAndroidPermissions(); + + recyclerView = findViewById(R.id.VenueListView); + bottomSheet = findViewById(R.id.bottomSheet); + sheetBehavior = BottomSheetBehavior.from(bottomSheet); + venue_search = findViewById(R.id.SearchBar); + cancle_text = findViewById(R.id.cancleText); + cancle_text.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + venue_search.setText(""); + cancle_text.setVisibility(View.GONE); + } + }); + venue_search.addTextChangedListener(new TextWatcher() { + @Override + public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { + + } + + @Override + public void onTextChanged(CharSequence c, int i, int i1, int i2) { + if(sheetBehavior.getState() != BottomSheetBehavior.STATE_EXPANDED) + sheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); + cancle_text.setVisibility(View.VISIBLE); + String s = c != null? c.toString() : ""; + s = s.trim(); + if(mapLoadDone == false) + filterVenues(s); + else + filterSpaces(s); + } + + @Override + public void afterTextChanged(Editable editable) { + + } + }); + header = findViewById(R.id.header); + backButton = findViewById(R.id.backButton); + venueName = findViewById(R.id.VenueName); + header.setVisibility(View.GONE); + backButton.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + if(mapLoadDone) { + removeVenue(); + } + } + }); + recyclerView.setVisibility(View.GONE); + progressBarBottom.setVisibility(View.VISIBLE); + topologyButton = findViewById(R.id.topologyButton); + topologyButton.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + if (topologyButton.isChecked()) { + venueEngine.getVenueMap().getSelectedVenue().setTopologyVisible(true); + } else { + venueEngine.getVenueMap().getSelectedVenue().setTopologyVisible(false); + } + } + }); + } + + private void filterSpaces(String s) { + recyclerView.setAdapter(null); + List list = new ArrayList<>(); + Log.d(TAG, "Geometries size: " + geometryList.size()); + for(VenueGeometry geometry : geometryList) { + if(geometry.getName().toLowerCase().contains(s.toLowerCase()) || geometry.getLevel().getName().toLowerCase().contains(s.toLowerCase()) + || (geometry.getInternalAddress() != null ? geometry.getInternalAddress().getAddress() : "").toLowerCase().contains(s.toLowerCase())) { + list.add(geometry); + } + } + if(!list.isEmpty()) { + recyclerView.setAdapter(new SpaceAdapter(getApplicationContext(), list, this)); + } + } + + private void filterVenues(String s) { + recyclerView.setAdapter(null); + List list = new ArrayList<>(); + for (VenueInfo venue : venueInfo) { + if(venue.getVenueName().toLowerCase().contains(s.toLowerCase()) || (Integer.toString(venue.getVenueId())).contains(s)) { + list.add(venue); + } + } + if(!list.isEmpty()) { + recyclerView.setAdapter(new VenueAdapter(getApplicationContext(), list, this)); + } } private void initializeHERESDK() { @@ -144,6 +272,9 @@ private void loadMapScene() { // Load a scene from the HERE SDK to render the map with a map scheme. mapView.getMapScene().loadScene(MapScheme.NORMAL_DAY, mapError -> { if (mapError == null) { + Anchor2D anchor = new Anchor2D(0,0); + Point2D offset = new Point2D(0, 1800); + mapView.setWatermarkLocation(anchor, offset); double distanceInMeters = 1000 * 10; MapMeasure mapMeasureZoom = new MapMeasure(MapMeasure.Kind.DISTANCE, distanceInMeters); mapView.getCamera().lookAt( @@ -192,12 +323,9 @@ private void onVenueEngineInitCompleted() { venueMap.add(venueSelectionListener); // Create a venue tap controller and connect VenueMap to it. - venueTapController = new VenueTapController(venueEngine, mapView, this); + venueTapController = new VenueTapController(venueEngine, mapView, this, sheetBehavior, recyclerView); venueTapController.setVenueMap(venueMap); - venueSearchController = new VenueSearchController(venueMap, venueTapController, - findViewById(R.id.venueSearchLayout), findViewById(R.id.searchButton)); - // Set a tap listener. mapView.getGestures().setTapListener(tapListener); @@ -221,6 +349,7 @@ private void onVenueEngineInitCompleted() { // Set label text preference service.setLabeltextPreference(labelPref); + service.loadTopologies(); } // Listener for the VenueService event. @@ -229,18 +358,11 @@ private void onVenueEngineInitCompleted() { public void onInitializationCompleted(@NonNull VenueServiceInitStatus result) { if (result == VenueServiceInitStatus.ONLINE_SUCCESS) { try{ - List venueInfo = venueEngine.getVenueMap().getVenueInfoList(MainActivity.this::onVenueLoadError); - venueInfoListItems = new Integer[venueInfo.size()]; - for (int i = 0; i< venueInfo.size(); i++) { - Log.d(TAG, "Venue Identifier: " + venueInfo.get(i).getVenueIdentifier() + " Venue Id: "+venueInfo.get(i).getVenueId() + " Venue Name: "+venueInfo.get(i).getVenueName()); - venueInfoListItems[i] = venueInfo.get(i).getVenueId(); - } - - ArrayAdapter adapter = new ArrayAdapter<>(MainActivity.this, - android.R.layout.simple_spinner_dropdown_item, venueInfoListItems); - adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); - venueInfoListSpinner.setAdapter(adapter); - venueInfoListSpinner.setOnItemSelectedListener(onVenueInfoListSelectedListener); + venueInfo = venueEngine.getVenueMap().getVenueInfoList(MainActivity.this::onVenueLoadError); + recyclerView.setLayoutManager(new LinearLayoutManager(MainActivity.this)); + recyclerView.setAdapter(new VenueAdapter(MainActivity.this, venueInfo, MainActivity.this)); + recyclerView.setVisibility(View.VISIBLE); + progressBarBottom.setVisibility(View.GONE); } catch (Exception e) { Log.d(TAG, e.toString()); @@ -248,7 +370,6 @@ public void onInitializationCompleted(@NonNull VenueServiceInitStatus result) { // Enable button for venue selection. From this moment the venue loading // is available. - setGoButtonClickListener(); } else { Log.e(TAG, "Failed to initialize venue service."); } @@ -259,12 +380,28 @@ public void onVenueServiceStopped() {} }; // Listener for the venue loading event. - private final VenueListener venueListener = (venueId, venueModel, online, venueStyle) -> { - if (venueModel == null) { - setGoButtonEnabled(true); - Log.e(TAG, "Failed to load the venue: " + venueId); + private final VenueListener venueListener = new VenueListener() { + @Override + public void onGetVenueCompleted(int venueId, @Nullable VenueModel venueModel, boolean b, @Nullable VenueStyle venueStyle) { + progressBar.setVisibility(View.GONE); + if (venueModel == null) { + Log.e(TAG, "Failed to load the venue: " + venueId); + } else { + mapLoadDone = true; + mapView.getCamera().zoomTo(18); + geometryList = venueModel.getGeometriesByName(); + venueTapController.setGeometries(geometryList); + recyclerView.setAdapter(new SpaceAdapter(getApplicationContext(), geometryList, MainActivity.this)); + venue_search.setHint("Search for Spaces"); + String venue_name = ""; + for(VenueInfo venue : venueInfo) { + if(venue.getVenueId() == venueId) + venue_name = venue.getVenueName(); + } + venueName.setText(venue_name); + header.setVisibility(View.VISIBLE); + } } - mapView.getCamera().zoomTo(18); }; // Listener for the venue selection event. @@ -281,32 +418,13 @@ public void onVenueServiceStopped() {} // Venue selection is done, enable back the button for the venue selection // to be able to select another venue. - setGoButtonEnabled(true); + progressBar.setVisibility(View.GONE); + mapLoadDone = true; + header.setVisibility(View.VISIBLE); } }; - // Listener for the button which selects venues by id. - private void setGoButtonClickListener() { - goButton.setOnClickListener(v -> { - try { - // Try to parse a venue id. - final int venueId = selectedVenueId; - VenueMap venueMap = venueEngine.getVenueMap(); - Venue selectedVenue = venueMap.getSelectedVenue(); - if (selectedVenue == null || selectedVenue.getVenueModel().getId() != venueId) { - // Disable the button while a venue loading and selection is in progress. - setGoButtonEnabled(false); - // Select a venue by id. - venueMap.selectVenueAsync(venueId, this ::onVenueLoadError); - } - } catch (Exception e) { - Log.d(TAG, "No Maps Found. " + e.toString()); - } - hideKeyboard(); - }); - } - - private void onVenueLoadError(VenueErrorCode venueLoadError) { + public void onVenueLoadError(VenueErrorCode venueLoadError) { String errorMsg; switch (venueLoadError) { case NO_NETWORK: @@ -343,18 +461,9 @@ private void onVenueLoadError(VenueErrorCode venueLoadError) { errorMsg = "Unknown Error encountered"; } - AlertDialog.Builder builder = new AlertDialog.Builder(this); - builder.setMessage(errorMsg) - .setCancelable(true) - .setTitle("Attention") - .setPositiveButton("OK", new DialogInterface.OnClickListener() { - @Override - public void onClick(DialogInterface dialog, int which) { - dialog.dismiss(); - } - }); - AlertDialog alert = builder.create(); - alert.setCanceledOnTouchOutside(true); + AlertHandler alert = new AlertHandler(this, errorMsg); + alert.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); + alert.getWindow().setGravity(Gravity.TOP); alert.show(); } @@ -372,16 +481,6 @@ public void hideKeyboard() { } } - private void setGoButtonEnabled(boolean value) { - if (value) { - goButton.setEnabled(true); - goButton.setText(R.string.go); - } else { - goButton.setEnabled(false); - goButton.setText(R.string.loading); - } - } - // Tap listener for MapView private final TapListener tapListener = origin -> { // Redirect the event to the venue tap controller. @@ -411,6 +510,7 @@ protected void onDestroy() { } mapView.onDestroy(); disposeHERESDK(); + mapLoadDone = false; super.onDestroy(); } @@ -431,5 +531,56 @@ private void disposeHERESDK() { // where a disposed instance is accidentally reused. SDKNativeEngine.setSharedInstance(null); } + mapLoadDone = false; + } + + private void removeVenue() { + recyclerView.setAdapter(new VenueAdapter(getApplicationContext(), venueInfo, this)); + mapLoadDone = false; + venue_search.setHint("Search for Venues"); + loadMapScene(); + header.setVisibility(View.GONE); + levelSwitcher.setVisible(false); + drawingSwitcher.setVisible(false); + VenueMap venueMap = venueEngine.getVenueMap(); + venueMap.removeVenue(venueMap.getSelectedVenue()); + } + + @Override + public void onBackPressed() { + if(sheetBehavior.getState() == BottomSheetBehavior.STATE_EXPANDED) { + sheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); + } + else if(mapLoadDone == true) { + removeVenue(); + } + else { + super.onBackPressed(); + } + } + + public void onVenueItemClicked(VenueInfo venueInfo) { + progressBar.setVisibility(View.VISIBLE); + try { + // Try to parse a venue id. + final int venueId = venueInfo.getVenueId(); + VenueMap venueMap = venueEngine.getVenueMap(); + Venue selectedVenue = venueMap.getSelectedVenue(); + hideKeyboard(); + if (selectedVenue == null || selectedVenue.getVenueModel().getId() != venueId) { + // Select a venue by id. + venueMap.selectVenueAsync(venueId, this ::onVenueLoadError); + } + if(sheetBehavior.getState() != BottomSheetBehavior.STATE_COLLAPSED) + sheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); + } catch (Exception e) { + Log.d(TAG, "No Maps Found. " + e.toString()); + } + } + + public void onSpaceItemClicked(VenueGeometry venueGeometry) { + venueTapController.selectGeometry(venueGeometry, venueGeometry.getCenter(), true); + if(sheetBehavior.getState() != BottomSheetBehavior.STATE_COLLAPSED) + sheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); } } diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/PermissionsRequestor.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/PermissionsRequestor.java index 8c3b1be4..647e544e 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/PermissionsRequestor.java +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/PermissionsRequestor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/SpaceAdapter.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/SpaceAdapter.java new file mode 100644 index 00000000..925544ca --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/SpaceAdapter.java @@ -0,0 +1,76 @@ +package com.here.sdk.examples.venues; + +import android.content.Context; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.LinearLayout; +import android.widget.RelativeLayout; +import android.widget.TextView; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import com.here.sdk.venue.data.VenueGeometry; +import com.here.sdk.venue.data.VenueInfo; + +import java.util.List; + +class SpaceViewHolder extends RecyclerView.ViewHolder{ + + public TextView spaceName, spaceAddress; + public RelativeLayout relativeLayout; + public LinearLayout addressLayout; + + public SpaceViewHolder(@NonNull View itemView) { + super(itemView); + spaceName = itemView.findViewById(R.id.SpaceName); + spaceAddress = itemView.findViewById(R.id.SpaceAddress); + addressLayout = itemView.findViewById(R.id.AddressLayout); + relativeLayout = itemView.findViewById(R.id.SpaceContainer); + } +} + +public class SpaceAdapter extends RecyclerView.Adapter { + + private static final String TAG = SpaceAdapter.class.getSimpleName(); + private Context context; + private List items; + private MainActivity mainActivity; + + public SpaceAdapter(Context context, List items, MainActivity mainActivity){ + this.context = context; + this.items = items; + this.mainActivity = mainActivity; + } + @NonNull + @Override + public SpaceViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + return new SpaceViewHolder(LayoutInflater.from(context).inflate(R.layout.space_item, parent, false)); + } + + @Override + public void onBindViewHolder(@NonNull SpaceViewHolder holder, int position) { + String spaceName, spaceAddress; + VenueGeometry geometry = items.get(position); + spaceName = geometry.getName() + ", " + geometry.getLevel().getName(); + spaceAddress = geometry.getInternalAddress() != null? geometry.getInternalAddress().getAddress() : ""; + holder.spaceName.setText(spaceName); + if(spaceAddress.isEmpty()) + holder.addressLayout.setVisibility(View.GONE); + else + holder.spaceAddress.setText(spaceAddress); + holder.relativeLayout.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + mainActivity.onSpaceItemClicked(items.get(position)); + } + }); + + } + + @Override + public int getItemCount() { + return items.size(); + } +} diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/StringArrayAdapter.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/StringArrayAdapter.java index fd5f8747..2e552ab2 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/StringArrayAdapter.java +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/StringArrayAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueAdapter.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueAdapter.java new file mode 100644 index 00000000..67d6ebd5 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueAdapter.java @@ -0,0 +1,64 @@ +package com.here.sdk.examples.venues; + +import android.content.Context; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.RelativeLayout; +import android.widget.TextView; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import com.here.sdk.venue.data.VenueInfo; + +import java.util.List; + +class VenueViewHolder extends RecyclerView.ViewHolder { + + public TextView venueName; + public RelativeLayout relativeLayout; + + public VenueViewHolder(@NonNull View itemView) { + super(itemView); + venueName = itemView.findViewById(R.id.VenueName); + relativeLayout = itemView.findViewById(R.id.VenueContainer); + } +} +public class VenueAdapter extends RecyclerView.Adapter { + + private static final String TAG = VenueAdapter.class.getSimpleName(); + private Context context; + private List items; + private MainActivity mainActivity; + + public VenueAdapter(Context context, List items, MainActivity mainActivity) { + this.context = context; + this.items = items; + this.mainActivity = mainActivity; + } + + @NonNull + @Override + public VenueViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + return new VenueViewHolder(LayoutInflater.from(context).inflate(R.layout.venue_item, parent,false)); + } + + @Override + public void onBindViewHolder(@NonNull VenueViewHolder holder, int position) { + holder.venueName.setText(items.get(position).getVenueName()); + + holder.relativeLayout.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + mainActivity.onVenueItemClicked(items.get(position)); + } + }); + + } + + @Override + public int getItemCount() { + return items.size(); + } +} diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueSearchController.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueSearchController.java deleted file mode 100644 index 1ebc231b..00000000 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueSearchController.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (C) 2019-2023 HERE Europe B.V. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - * License-Filename: LICENSE - */ - -package com.here.sdk.examples.venues; - -import android.app.Activity; -import android.content.Context; -import androidx.annotation.NonNull; -import android.text.Editable; -import android.text.TextWatcher; -import android.view.View; -import android.view.inputmethod.InputMethodManager; -import android.widget.AdapterView; -import android.widget.ArrayAdapter; -import android.widget.EditText; -import android.widget.ListView; -import android.widget.Spinner; - -import com.here.sdk.venue.control.Venue; -import com.here.sdk.venue.control.VenueLifecycleListener; -import com.here.sdk.venue.control.VenueMap; -import com.here.sdk.venue.control.VenueSelectionListener; -import com.here.sdk.venue.data.VenueGeometry; -import com.here.sdk.venue.data.VenueGeometryFilterType; - -import java.util.ArrayList; -import java.util.List; - -public class VenueSearchController { - final VenueMap venueMap; - final VenueTapController tapController; - final View venueSearchLayout; - final View visibilityButton; - final EditText venueSearchText; - final Spinner searchTypeSpinner; - final ListView geometriesList; - private Venue venue; - private String filter = ""; - private VenueGeometryFilterType searchType = VenueGeometryFilterType.NAME; - private boolean visible = false; - private List geometries; - - public VenueSearchController(VenueMap venueMap, - VenueTapController tapController, - View venueSearchLayout, - View visibilityButton) { - this.venueMap = venueMap; - this.tapController = tapController; - this.venueSearchLayout = venueSearchLayout; - this.visibilityButton = visibilityButton; - venueSearchText = venueSearchLayout.findViewById(R.id.venueSearch); - searchTypeSpinner = venueSearchLayout.findViewById(R.id.searchTypeSpinner); - initSearchTypes(venueSearchLayout); - geometriesList = venueSearchLayout.findViewById(R.id.searchResultList); - setVisible(false); - venueMap.add(venueSelectionListener); - venueMap.add(venueLifecycleListener); - venueSearchText.addTextChangedListener(textWatcher); - visibilityButton.setOnClickListener(v -> setVisible(!visible)); - geometriesList.setOnItemClickListener((parent, view, position, id) -> { - if (geometries == null || position >= geometries.size()) { - return; - } - VenueGeometry geometry = geometries.get(position); - if (geometry == null) { - return; - } - this.tapController.selectGeometry(geometry, geometry.getCenter(), true); - setVisible(false); - hideKeyboardFrom(venueSearchText.getContext(), venueSearchText); - }); - } - - AdapterView.OnItemSelectedListener onSearchTypeSelectedListener = - new AdapterView.OnItemSelectedListener() { - @Override - public void onItemSelected(AdapterView parent, View view, int position, long id) { - VenueGeometryFilterType type = VenueGeometryFilterType.values()[position]; - if (type != searchType) { - searchType = type; - filterGeometries(); - } - } - - @Override - public void onNothingSelected(AdapterView parent) { - - } - }; - - private void initSearchTypes(View venueSearchLayout) { - String[] items = new String[VenueGeometryFilterType.values().length]; - for (int i = 0; i < VenueGeometryFilterType.values().length; i++) - { - items[i] = VenueGeometryFilterType.values()[i].toString(); - } - ArrayAdapter adapter = new ArrayAdapter<>(venueSearchLayout.getContext(), - android.R.layout.simple_spinner_dropdown_item, items); - searchTypeSpinner.setAdapter(adapter); - searchTypeSpinner.setSelection(0); - searchTypeSpinner.setOnItemSelectedListener(onSearchTypeSelectedListener); - } - - private void setVisible(boolean value) { - if (visible == value) { - return; - } - visible = value; - venueSearchLayout.setVisibility(visible ? View.VISIBLE : View.GONE); - } - - public static void hideKeyboardFrom(Context context, View view) { - InputMethodManager imm = - (InputMethodManager) context.getSystemService(Activity.INPUT_METHOD_SERVICE); - imm.hideSoftInputFromWindow(view.getWindowToken(), 0); - } - - @Override - protected void finalize() throws Throwable { - removeListeners(); - super.finalize(); - } - - private void removeListeners() { - if (venueMap != null) { - venueMap.remove(venueSelectionListener); - venueMap.remove(venueLifecycleListener); - } - - if (venueSearchText != null) { - venueSearchText.removeTextChangedListener(textWatcher); - } - } - - private void onVenueChanged(Venue venue) { - if (this.venue == venue) - { - return; - } - this.venue = venue; - filterGeometries(); - } - - private void filterGeometries() { - if (venue == null) - { - geometriesList.setAdapter(null); - return; - } - geometries = filter.isEmpty() - ? venue.getVenueModel().getGeometriesByName() - : venue.getVenueModel().filterGeometry(filter, searchType); - List names = new ArrayList<>(); - for (VenueGeometry geometry : geometries) { - StringBuilder name = new StringBuilder(); - if ((searchType == VenueGeometryFilterType.NAME) - && geometry.getName() != null) - { - name.append(geometry.getName()).append(", ").append(geometry.getLevel().getName()); - names.add(name.toString()); - } - if ((searchType == VenueGeometryFilterType.ADDRESS - || searchType == VenueGeometryFilterType.NAME_OR_ADDRESS) - && geometry.getInternalAddress() != null) - { - name.append(geometry.getName()).append(", ").append(geometry.getLevel().getName()); - name.append("\n(Address: ").append(geometry.getInternalAddress().getAddress()) - .append(")"); - names.add(name.toString()); - } - else if (searchType == VenueGeometryFilterType.ICON_NAME - && geometry.getLookupType() == VenueGeometry.LookupType.ICON) - { - name.append(geometry.getName()).append(", ").append(geometry.getLevel().getName()); - name.append("\n(Icon: ").append(geometry.getLabelName()).append(")"); - names.add(name.toString()); - } - } - final StringArrayAdapter adapter = - new StringArrayAdapter(geometriesList.getContext(), names); - geometriesList.setAdapter(adapter); - } - - private final VenueSelectionListener venueSelectionListener = - (deselectedController, selectedController) -> onVenueChanged(selectedController); - - private final VenueLifecycleListener venueLifecycleListener = new VenueLifecycleListener() { - @Override - public void onVenueAdded(@NonNull Venue venue) { - } - - @Override - public void onVenueRemoved(int i) { - onVenueChanged(venueMap.getSelectedVenue()); - } - }; - - private final TextWatcher textWatcher = new TextWatcher() { - @Override - public void beforeTextChanged(CharSequence s, int start, int count, int after) { - } - - @Override - public void onTextChanged(CharSequence s, int start, int before, int count) { - filter = s != null ? s.toString() : ""; - filterGeometries(); - } - - @Override - public void afterTextChanged(Editable s) { - } - }; - - -} diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueTapController.java b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueTapController.java index 62fe8e4f..6bf532f0 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueTapController.java +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/java/com/here/sdk/examples/venues/VenueTapController.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2023 HERE Europe B.V. + * Copyright (C) 2019-2024 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,9 +21,16 @@ import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.RecyclerView; + +import android.content.Context; +import android.view.LayoutInflater; import android.view.View; +import android.view.ViewGroup; +import android.widget.RelativeLayout; import android.widget.TextView; +import com.google.android.material.bottomsheet.BottomSheetBehavior; import com.here.sdk.core.Anchor2D; import com.here.sdk.core.Color; import com.here.sdk.core.GeoCoordinates; @@ -44,6 +51,47 @@ import java.util.ArrayList; import java.util.Collections; +import java.util.List; + +class SpaceSelectionHolder extends RecyclerView.ViewHolder{ + + public TextView spaceName, spaceAddress; + + public SpaceSelectionHolder(@NonNull View itemView) { + super(itemView); + spaceName = itemView.findViewById(R.id.SpaceName); + spaceAddress = itemView.findViewById(R.id.SpaceAddress); + } +} + +class SpaceSelectionAdapter extends RecyclerView.Adapter { + private Context context; + private VenueGeometry geometry; + + public SpaceSelectionAdapter(Context context, VenueGeometry item){ + this.context = context; + this.geometry = item; + } + @NonNull + @Override + public SpaceSelectionHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + return new SpaceSelectionHolder(LayoutInflater.from(context).inflate(R.layout.space_selection, parent, false)); + } + + @Override + public void onBindViewHolder(@NonNull SpaceSelectionHolder holder, int position) { + String spaceName, spaceAddress; + spaceName = geometry.getName() + ", " + geometry.getLevel().getName(); + spaceAddress = geometry.getInternalAddress() != null? geometry.getInternalAddress().getAddress() : ""; + holder.spaceName.setText(spaceName); + holder.spaceAddress.setText(spaceAddress); + } + + @Override + public int getItemCount() { + return 1; + } +} public class VenueTapController { private static Color SELECTED_COLOR = Color.valueOf(0.282f, 0.733f, 0.96f); @@ -59,25 +107,26 @@ public class VenueTapController { private MapMarker marker = null; private Venue selectedVenue = null; private VenueGeometry selectedGeometry = null; + private BottomSheetBehavior sheetBehavior; + private RecyclerView recyclerView; // Create geometry and label styles for the selected geometry. private final VenueGeometryStyle geometryStyle = new VenueGeometryStyle( SELECTED_COLOR, SELECTED_OUTLINE_COLOR, 1); private final VenueLabelStyle labelStyle = new VenueLabelStyle( SELECTED_TEXT_COLOR, SELECTED_TEXT_OUTLINE_COLOR, 1, 28); + private Context context; + private List geometryList; - private View geometryInfo; - private TextView geometryNameText; - - VenueTapController(VenueEngine venueEngine, MapView mapView, AppCompatActivity activity) { + VenueTapController(VenueEngine venueEngine, MapView mapView, AppCompatActivity activity, BottomSheetBehavior sheetBehav, RecyclerView RvView) { this.venueEngine = venueEngine; this.mapView = mapView; + this.sheetBehavior = sheetBehav; + this.recyclerView = RvView; + this.context = activity; // Get an image for MapMarker. markerImage = MapImageFactory.fromResource(activity.getResources(), R.drawable.marker); - - geometryInfo = activity.findViewById(R.id.geometry_info); - geometryNameText = activity.findViewById(R.id.geometry_name); } @Override @@ -128,9 +177,9 @@ public void selectGeometry(VenueGeometry geometry, GeoCoordinates position, bool mapView.getMapScene().addMapMarker(marker); } - // Set a geometry name to the text view and show it. - geometryNameText.setText(geometry.getName()); - geometryInfo.setVisibility(View.VISIBLE); + recyclerView.setAdapter(new SpaceSelectionAdapter(context, geometry)); + + sheetBehavior.setPeekHeight(500); // Set a selected style for the geometry. ArrayList geometries = @@ -143,7 +192,7 @@ public void selectGeometry(VenueGeometry geometry, GeoCoordinates position, bool } private void deselectGeometry() { - geometryInfo.setVisibility(View.GONE); + sheetBehavior.setPeekHeight(300); // If the map marker is already on the screen, remove it. if (marker != null) { @@ -156,6 +205,12 @@ private void deselectGeometry() { new ArrayList<>(Collections.singletonList(selectedGeometry)); selectedVenue.setCustomStyle(geometries, null, null); } + if (geometryList != null) + recyclerView.setAdapter(new SpaceAdapter(context, geometryList, (MainActivity) context)); + } + + public void setGeometries(List list) { + geometryList = list; } // Tap listener for MapView diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable-nodpi/level_list_view_border.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable-nodpi/level_list_view_border.xml index 1f4bb490..c0a64b23 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable-nodpi/level_list_view_border.xml +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable-nodpi/level_list_view_border.xml @@ -1,4 +1,5 @@ - + + diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/alert_background.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/alert_background.xml new file mode 100644 index 00000000..cd586add --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/alert_background.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/alert_cancle.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/alert_cancle.png new file mode 100644 index 00000000..89629d38 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/alert_cancle.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/arrow_up.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/arrow_up.png new file mode 100644 index 00000000..a7410d79 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/arrow_up.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/back_button.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/back_button.png new file mode 100644 index 00000000..2511a179 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/back_button.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/bottom_sheet_background.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/bottom_sheet_background.xml new file mode 100644 index 00000000..0539e60d --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/bottom_sheet_background.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/building.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/building.png new file mode 100644 index 00000000..2e583948 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/building.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/cancle_button.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/cancle_button.png new file mode 100644 index 00000000..4828955a Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/cancle_button.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/drawing_listview_background.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/drawing_listview_background.xml new file mode 100644 index 00000000..a1ff65f0 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/drawing_listview_background.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/drawing_selector.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/drawing_selector.xml new file mode 100644 index 00000000..217ef543 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/drawing_selector.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/level_up.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/level_up.xml new file mode 100644 index 00000000..ff21a48d --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/level_up.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/north_west_arrow.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/north_west_arrow.png new file mode 100644 index 00000000..0ef9d182 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/north_west_arrow.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/progress_bar.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/progress_bar.xml new file mode 100644 index 00000000..e5acee68 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/progress_bar.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/progress_icon.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/progress_icon.png new file mode 100644 index 00000000..4fa432af Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/progress_icon.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/right_arrow.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/right_arrow.png new file mode 100644 index 00000000..2a33b06e Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/right_arrow.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/round_side_rect.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/round_side_rect.xml new file mode 100644 index 00000000..7af05d30 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/round_side_rect.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/search.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/search.png new file mode 100644 index 00000000..2407b0c2 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/search.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/search_icon.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/search_icon.png new file mode 100644 index 00000000..b653900e Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/search_icon.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/searchbar_background.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/searchbar_background.xml new file mode 100644 index 00000000..c944de27 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/searchbar_background.xml @@ -0,0 +1,12 @@ + + + + + + + diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/space_icon.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/space_icon.png new file mode 100644 index 00000000..1494ba3d Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/space_icon.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/structure_building.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/structure_building.png new file mode 100644 index 00000000..cb528edb Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/structure_building.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_off_button.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_off_button.png new file mode 100644 index 00000000..f2875b97 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_off_button.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_on_button.png b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_on_button.png new file mode 100644 index 00000000..6e593d90 Binary files /dev/null and b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_on_button.png differ diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_state.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_state.xml new file mode 100644 index 00000000..8efb2d27 --- /dev/null +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/drawable/topology_state.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/examples/latest/navigate/android/IndoorMap/app/src/main/res/layout-v26/level_item.xml b/examples/latest/navigate/android/IndoorMap/app/src/main/res/layout-v26/level_item.xml index d76cda88..e3568908 100644 --- a/examples/latest/navigate/android/IndoorMap/app/src/main/res/layout-v26/level_item.xml +++ b/examples/latest/navigate/android/IndoorMap/app/src/main/res/layout-v26/level_item.xml @@ -7,10 +7,7 @@ android:layout_height="40dp" android:gravity="center" android:textColor="@drawable/level_item_text_color" - android:autoSizeTextType="uniform" - android:autoSizeMinTextSize="12sp" - android:autoSizeMaxTextSize="24sp" - android:autoSizeStepGranularity="2sp" + android:textSize="14sp" android:background="@drawable/level_item_background" /> - + - - -