Angela Yu
fa63927d15
chore: add region tags to 6 samples ( #1552 )
2024-04-25 11:10:15 -07:00
Angela Yu
cf74be5bc2
chore: add region tag to basic map demo and upgrade gradle ( #1551 )
...
* chore: add region tag to basic map demo
* chore: update gradle verison
2024-04-24 17:23:01 -07:00
Enrique López Mañas
8caba9ce7b
feat: add Advanced Markers Samples ( #1435 )
2023-12-08 14:35:47 -08:00
Enrique López Mañas
49c4502f1b
feat: adding styled map sample ( #1433 )
2023-12-08 10:00:39 -08:00
Enrique López Mañas
596b127a7c
feat: removed renderer selection from the samples ( #1430 )
...
Since the new renderer is default as of Maps SDK for Android v18.2.0, the renderer selection is unnecessary for these demos.
2023-12-06 14:55:13 -08:00
Angela Yu
f777167272
chore: set up new snippets modules for region tags ( #1368 )
...
* chore: move MapsCompose.kt to snippets/app-compose app
* chore: create app-places-ktx snippets module with places-ktx install snippet
* chore: create app-maps-rx snippets module
* chore: create app-ktx snippets module
* chore: add app-utils-ktx snippets module
* chore: rename app-maps-rx to app-rx
* chore: add app-utils snippets module
* chore: move region tag from tutorials to snippets for play services sdk dependency
* chore: move kotlin utils to app-utils-ktx module
* chore: move utils and utils-ktx snippets into corresponding modules
* chore: finalize maps sdk snippets
* chore: upgrade AGP and add namespaces
* chore: fix build issues
* chore: udpate build workflow to Java 17
* chore: fix build errors
* chore: remove v3 files
* Revert "chore: remove v3 files"
This reverts commit f70c47bd0cbd5ed73dfd43199371dcfc6afd6350.
* chore: add default PLACES_API_KEY to Current Place tutorial
* chore: fix tutorial builds
2023-10-31 09:33:26 -07:00
cf256
c4831c1b40
chore: typo in comment when showing Darwin marker ( #1205 )
2023-03-16 16:10:15 -07:00
Enrique López Mañas
71f1f67662
fix: fixed NPE on OnMapAndViewReadyListener ( #1116 )
2022-12-23 04:22:20 -08:00
Chris Arriola
d301ecedce
chore: Demonstrate using ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION. ( #901 )
...
* chore: Demonstrate using ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION.
Change-Id: I2e8b240a9c2a6d7aca111f0ce23b24e689a180c7
* Update Java sample.
Change-Id: I30a73fdee25dc341f57bc13c6a2a29241768369a
2022-03-25 10:05:47 -07:00
Chris Arriola
a88ca81998
chore: Add CloudBasedMapStylingDemoActivity to gms flavor. ( #853 )
...
* chore: Add CloudBasedMapStylingDemoActivity to gms flavor.
Change-Id: I95e1c76f04dfabed43cfea13a65c61e518acb279
* chore: Add CloudBasedMapStylingDemoActivity to gms demos kotlin.
Change-Id: I907741c12a4fba1ef10dcd0ec83fe2f10e8ee233
* Use gradle 7.2
Change-Id: I24ee0594db9f36f49f15d0c32a2c89f81ce6336f
2022-03-21 15:57:06 -07:00
Ali Shariat
56103f99e0
fix: force close in the camera demo activity ( #796 )
...
map object was not initialized, and it caused a crash in the sample app
2021-12-15 09:15:41 -08:00
Chris Arriola
4ee2170919
fix: Fix v18.0.0 build errors ( #740 )
...
* fix: Fix build errors from v18.0.0
Change-Id: Id4a2b5edf71832ffe71e2296de979b9a48b7786a
* Update CI to only build GMS on non-snippet code.
Change-Id: I1cbc08546758ec1ae40851777efdbe2ac2e941a4
* Remove redundant snippet end tag.
Change-Id: I8101762c705a31af6c63deec91152246e19b9622
* Fix nullability errors.
Change-Id: I3e535c0389586bf69a6780c5ce46c813e2b3241f
2021-10-27 11:21:21 -07:00
Chris Arriola
cd44d81c3c
feat: 18.0.0 samples ( #732 )
...
* feat: 18.0.0 samples
* Map BG Color
* Moving cloud based map styling from v3 to gms
* Opt-in renderer
Change-Id: I094e53c9d9ef6b59abe443fb0791646b025cbd3d
* Add exported and bump minSdkVersion
Change-Id: Ied1e4e0aa507b3e67ce09679824225dd4fca88a3
* Bump snippet repo versions.
Change-Id: I50183bcfa4ef5a11d910545848200a9be03605c3
* Bump 18.0.0
Change-Id: I6c174f15e4afa4b2b20a52e956fc1c82e9f71d60
2021-10-27 09:04:41 -07:00
Chris Arriola
b92eeef28b
chore: Using AGP 7.0.0 ( #658 )
...
* chore: Using AGP 7.0.0
* Use Java 11.
* Using 'adopt' distribution
* Ignore .java-version
* Remove onClick from XML
* Add abortOnError false.
2021-08-09 16:41:26 -07:00
Chris Arriola
482e53a710
chore: Fix warnings and bump dependencies.
2021-07-15 11:47:53 -07:00
Chris Arriola
5e9359b25e
chore: Update dependencies and remove jcenter() ( #582 )
...
* chore: Bump AGP 4.2.1 and use secrets-gradle-plugin 1.3.0
* chore: Remove jcenter()
* Use gradle 6.7.1
* Add volley 1.2.0
* Fix build errors.
* Use requireActivity.
2021-07-14 17:22:31 -07:00
Chris Arriola
e1253fe7ff
chore: Remove queries entry. ( #545 )
2021-05-13 17:18:13 -07:00
Chris Arriola
7d2a50b6b9
feat: Adding SnapshotDemoActivity. ( #433 )
2021-01-29 15:15:50 -08:00
Chris Arriola
99da3d7c5f
chore: Using secrets-gradle-plugin ( #432 )
...
* chore: Using secrets-gradle-plugin
* Using secrets-gradle-plugin in all projects.
* Using 0.4 version of secrets-gradle-plugin
2021-01-27 13:30:29 -08:00
Chris Arriola
0514d79efa
feat: Add SaveStateDemoActivity. ( #431 )
2021-01-27 12:10:02 -08:00
Chris Arriola
05b53a22d6
feat: Kotlin samples for RetainMapDemoActivity, ProgrammaticDemoActivity, and OptionsDemoActivity ( #430 )
...
* Adding sample for MapInPagerDemoActivity
* Bump to gradle 6.5
* Adding MultiMapDemoActivity.
* feat: Adding OptionsDemoActivity
* Adding ProgrammaticDemoActivity.
* Add RetainMapDemoActivity.
2021-01-26 16:36:13 -08:00
Chris Arriola
87f37c0320
feat: Adding sample for MapInPagerDemoActivity and MultiMapDemoActivity ( #429 )
...
* Adding sample for MapInPagerDemoActivity
* Bump to gradle 6.5
* Adding MultiMapDemoActivity.
2021-01-26 14:54:21 -08:00
Chris Arriola
e6cf1b0202
feat: Add missing Kotlin samples ( #428 )
...
* Gradle bump and rename CloseInfoWindowDemoActivity
* Adding CameraClampingDemoActivity.
* Fix build error.
* Add location source.
2021-01-25 17:03:15 -08:00
Chris Arriola
5578ecaa3c
chore: Use GITHUB_WORKSPACE.
2021-01-25 14:54:22 -08:00
Nikita Samoylov
31d2d19d85
fix: activity added to manifest, state saving fix ( #416 )
2021-01-15 16:42:51 -08:00
Chris Arriola
2ab19b7e0d
feat: Using local.properties to provide API key ( #398 )
...
* feat: Using local.properties to provide API key instead of secure.properties.
* Remove redundant declaration in main AndroidManifest.xml
* Migrate ApiDemos - Kotlin to use local.properties.
* Update README for tutorials.
* Genericize.
* Remove references to secure.properties.
* s/master/main
2020-11-25 13:38:00 -08:00
Chris Arriola
0a4969eb76
feat: Target API level 30. ( #376 )
2020-11-04 12:52:18 -08:00
Chris Arriola
f365026f84
chore: Add missing Kotlin demos. ( #375 )
2020-11-03 11:27:16 -08:00
Chris Arriola
6eb23eee45
chore: Add missing snippets ( #316 )
...
* chore: Add missing snippets.
* Add POI behavior
* License.
* Adding snippets for Maps Object.
* Add OnPoiClickDemoActivity
* Add LiteMode.
* Add street view sample code.
* Add missing headers.
* Marking activity as public.
* Making activity internal
* Move exclude.
* Adding snippets for Events.
* Add camera and view snippets.
* Adding MyLocationLayerActivity.
* Add snippets for Markers.
* Adding InfoWindows.
* Addiing snippets for Shapes.
* Add GroundOverlays snippets.
* Add tile overlays samples.
* Add AMU + GeoJSON samples.
* ADd KML snippets.
* Adding heatmaps.
* Add clustering.
* Add multilayer.
2020-09-23 15:14:56 -07:00
Chris Arriola
9a8dff4c2b
chore: Adding kotlin demo of raw MapView.
2020-09-08 10:20:02 -07:00
Chris Arriola
c82e1a8120
build: Adding SuppressLint for MissingPermission. ( #261 )
...
* build: Adding SuppressLint for MissingPermission.
* Using NDK version 21.3.6528147
* Uninstall NDK bundle.
* Fix build errors.
* Fix per-flavor manifests.
2020-07-28 10:33:02 -07:00
Chris Arriola
7768691408
docs: Update README on how to provide GMP API Key. ( #248 )
...
* docs: Update README on how to provide GMP API Key.
* fix references.
* Update reference.
* Update string.
* Update references.
2020-06-17 09:47:42 -07:00
Chris Arriola
e37665bebb
chore: Change setFadeIn signature.
2020-06-15 13:52:11 -07:00
Chris Arriola
343e153d6f
chore(Kotlin): Add Kotlin samples for tile overlay.
2020-06-15 13:39:42 -07:00
Chris Arriola
31a5d6ce03
chore: Update docs link for Cloud Based Map Styling.
2020-06-15 09:15:46 -07:00
Chris Arriola
039244ca50
feat: Add samples for V3 BETA 3.1.0 release.
2020-06-12 14:05:02 -07:00
googlemaps-bot
35e72cf23f
chore: Generate V3 samples ( #244 )
2020-06-04 10:44:46 -07:00
Sean Barbeau
a6d24c6395
chore: Add MyLocationDemoActivity in Kotlin ( #239 )
...
Includes region tags for:
* maps_check_location_permission_result
* maps_check_location_permission
Also adds PermissionUtils in Kotlin
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
Also remove redundant schema from layout
2020-06-03 16:06:48 -04:00
googlemaps-bot
b27512a8f5
chore: Generate V3 samples ( #243 )
2020-06-03 12:55:09 -07:00
Sean Barbeau
a72d0bde1a
chore: Add region tags for CameraDemoActivity ( #233 )
...
Also made following changes to Java version:
* Remove Hungarian notation from variables
* Remove redundant view casts
2020-06-02 11:21:22 -04:00
Sean Barbeau
09dcb13876
chore: Add IndoorDemoActivity in Kotlin ( #232 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Remove redundant cast for TextView
* Fix spelling in string
2020-06-01 12:31:02 -04:00
Sean Barbeau
92290d690d
chore: Add GroundOverlayDemoActivity in Kotlin ( #231 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Remove redundant cast for SeekBar
2020-06-01 11:17:27 -04:00
Sean Barbeau
7f1efcdab9
chore: Add EventsDemoActivity in Kotlin ( #220 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Remove redundant cast for TextView
2020-05-29 14:15:34 -04:00
Maluki Muthusi
99b9c37c7f
The api key should be added at the file ApiDemos/kotlin/secure.properties not ApiDemos/kotlin/app/secure.properties. ( #212 )
...
It is one of the errors that beginners encounter. There some questions at stackoverflow due that.
2020-05-27 08:26:29 -07:00
Sean Barbeau
049481395e
chore: Add LiteDemoActivity in Kotlin ( #210 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
2020-05-21 10:25:38 -04:00
Sean Barbeau
da59043c43
chore: Add StreetViewPanoramaViewDemoActivity in Kotlin ( #209 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Add missing annotation
2020-05-21 10:14:47 -04:00
Sean Barbeau
ae0de4b608
chore: Add StreetViewPanoramaEventsDemoActivity in Kotlin ( #207 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Use lambda (requires Java 8 support)
* Support Java 8 features (for all Java demos) via build.gradle
2020-05-19 15:16:40 -04:00
Sean Barbeau
d5f727f838
chore: Add StreetViewPanoramaOptionsDemoActivity in Kotlin ( #208 )
...
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Remove redundant cast for TextView
* Normalize instance variable names
* Normalize capitalization of activity title in UI list
* Use lambda (requires Java 8 support)
* Support Java 8 features (for all Java demos) via build.gradle
2020-05-19 10:25:55 -04:00
Sean Barbeau
62c06a8707
chore: Add StreetViewPanoramaBasicDemoActivity in Kotlin ( #204 )
2020-05-18 09:20:31 -04:00
Sean Barbeau
b2c83b643e
chore: Add SplitStreetViewPanoramaAndMapDemoActivity in Kotlin ( #203 )
...
Also update Java example to not use Hungarian notation
2020-05-15 14:32:15 -04:00