47 Commits

Author SHA1 Message Date
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
Chris Arriola
694c460834
chore: Kotlin ApiDemos for Maps SDK V3 BETA (#201)
* chore: Kotlin ApiDemos for Maps SDK V3 BETA

* Update ApiDemos/kotlin/app/build.gradle

Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>

Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>
2020-05-14 11:40:26 -07:00
Sean Barbeau
f9c52c7673
chore: Remove KTX from basic map demo (#196) 2020-05-08 18:28:54 -04:00
Sean Barbeau
581ae289a6
chore: Update basic map demo (#193)
Based on additional comments in https://github.com/googlemaps/android-samples/pull/188:
* Use KTX for addMarker()
* Allow optional for GoogleMap
2020-05-07 12:23:54 -04:00
Sean Barbeau
a972bafebc
feat: Get Maps API key from unversioned file instead of resource - kotlin (#189)
New process to add your own Google Maps API key:

1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
1. Create a file in the `ApiDemos/kotlin/app` directory called `secure.properties` (this file should *NOT* be under version control to protect your API key)
1. Add a single line to `ApiDemos/kotlin/app/secure.properties` that looks like `MAPS_API_KEY=YOUR_API_KEY`, where `YOUR_API_KEY` is the API key you obtained in the first step
1. Build and run
2020-05-07 08:06:11 -07:00
Sean Barbeau
41e6322ccb
feat: Use coroutine and AMU-KTX .awaitMap() to init basic map demo (#188) 2020-05-06 09:24:13 -07:00
dependabot-preview[bot]
6dd37ee5a6
chore(deps): bump kotlin_version in /ApiDemos/kotlin (#186)
Bumps `kotlin_version` from 1.3.71 to 1.3.72.

Updates `kotlin-gradle-plugin` from 1.3.71 to 1.3.72
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.71...v1.3.72)

Updates `kotlin-stdlib-jdk7` from 1.3.71 to 1.3.72
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.71...v1.3.72)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-30 13:21:13 -07:00
dependabot-preview[bot]
28c6ec9b49
chore(deps): bump gradle from 3.6.2 to 3.6.3 in /ApiDemos/kotlin (#181)
Bumps gradle from 3.6.2 to 3.6.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-22 12:42:53 -07:00
Chris Arriola
487c289e15
chore(deps): Update to gradle 3.6.2 (#174)
* chore(deps): Update gradle to 3.6.2

* Fix lint issues.
2020-04-15 11:43:39 -07:00
dependabot-preview[bot]
899c33704a
chore(deps): Bump easypermissions from 1.1.1 to 3.0.0 in /ApiDemos/kotlin (#156)
Bumps [easypermissions](https://github.com/googlesamples/easypermissions) from 1.1.1 to 3.0.0.
- [Release notes](https://github.com/googlesamples/easypermissions/releases)
- [Commits](https://github.com/googlesamples/easypermissions/compare/1.1.1...3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 19:55:33 -07:00
dependabot-preview[bot]
b7dc36bc40
Bump junit from 4.12 to 4.13 in /ApiDemos/kotlin
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 16:36:35 +00:00
Chris Arriola
87955bc158 build: Fixing build issues. 2020-04-07 14:47:51 -07:00
Angela Yu
7e9b01cf82
Update to latest Maps and Places SDKs (#141)
* Update ApiDemos/java to latest Maps SDK for Android

* Update ApiDemos/kotlin to latest Maps SDK for Android

* Update tutorials/CurrentPlaceDetailsOnMap to new Places SDK for Android

* Update tutorials/MapWithMarker to latest Maps SDK for Android

* Update tutorials/Polygons to latest Maps SDK for Android

* Update tutorials/StyledMap to latest Maps SDK for Android

* Update README with better instructions for API key
2019-12-30 13:18:01 -08:00
Alex Muramoto
71b2a225f4 upgrade kotlin and gradle versions (#119) 2019-04-19 09:45:38 -07:00
Bella Mangunsong
051e03b573 add Suppress for deprecated method used in older version of android 2018-02-15 15:10:02 +11:00
Bella Mangunsong
979c510e4a Merge remote-tracking branch 'upstream/master' 2018-02-15 15:07:49 +11:00
Stephen McDonald
78bbc34b37
Merge pull request #90 from katherineallen/master
addresses comments from #87
2018-02-15 14:55:17 +11:00
Katherine Allen
320fe29516 addresses comments from #87 2018-02-15 14:21:05 +11:00
Stephen McDonald
b03a3e25e3
Merge pull request #87 from katherineallen/master
Added samples to Kotlin project
2018-02-15 12:32:53 +11:00
Bella Mangunsong
498927a018 fix build.gradle and UI Settings Demo 2018-02-15 11:30:20 +11:00
Bella Mangunsong
764ec8d0c1 fix the Circle Demo 2018-02-15 11:25:01 +11:00
Bella Mangunsong
bc62c4209d
Fix bug in BasicMapDemo 2018-02-14 16:41:53 +11:00
Bella Mangunsong
4364cd4d97 add Lite List Demo 2018-02-08 09:48:02 +11:00
Bella Mangunsong
c1a8f49f74 add marker close info window on retap demo 2018-02-08 09:48:02 +11:00
Bella Mangunsong
304e0b1c03 add UI settings demo 2018-02-08 09:48:02 +11:00
Bella Mangunsong
d5d5c98ecc add StreetView Panorama Navigation demo 2018-02-08 09:48:02 +11:00
Bella Mangunsong
9f080fa09e add the Circle Demo 2018-02-08 09:48:02 +11:00
Bella Mangunsong
1f728dfd9b Add a Basic Map Demo 2018-02-08 09:48:02 +11:00
Katherine Allen
90715219bf added layers demo and associated files 2018-02-07 16:31:17 +11:00
Katherine Allen
7e367ef852 added visible regions demo and associated files
Change-Id: Ia75292ca6562a99d3192c1c5185bae34eebcf1d6
2018-02-07 16:18:46 +11:00
Katherine Allen
e61162ebe6 added tags demo activity and associated files 2018-02-07 16:16:27 +11:00
Katherine Allen
9ef904ddb3 added polyline demo and associated files 2018-02-07 16:12:43 +11:00
Katherine Allen
54770fc0d7 ran lint on marker demo. Also changed one markerOptions to use apply
Change-Id: Ibd6795c9c74c6bd2a45819ffabc3d47002264ae0
2018-02-07 16:09:51 +11:00
Katherine Allen
9da2267721 added polygon demo activity and associated files 2018-02-07 16:08:57 +11:00
Bella Mangunsong
a6a20ab6ca
Update MainActivity.kt 2018-02-07 16:01:28 +11:00
Katherine Allen
01e3d5d196 added Camera demo and associated files 2018-02-07 15:52:03 +11:00
Katherine Allen
31c14c9d7a adding kotlin marker demo and associated files. New commit as I accidentally pushed the previous one before it was completed. 2018-02-07 15:48:14 +11:00
Katherine Allen
9048d38339 added kotlin marker demo and associated files 2018-02-07 14:54:09 +11:00
Bella Mangunsong
ae45ead8b2 started the Kotlin ApiDemos project and created menu system 2018-02-06 10:19:34 +11:00