1225 Commits

Author SHA1 Message Date
Chris Arriola
fe594674ce build: Update to Gradle 4.0.1 2020-07-27 14:59:25 -07:00
dependabot-preview[bot]
cb108aa7a3
chore(deps): bump core-ktx in /tutorials/kotlin/MapWithMarker (#259) 2020-07-23 15:50:01 +00:00
dependabot-preview[bot]
054d002948
chore(deps): bump core-ktx in /tutorials/kotlin/CurrentPlaceDetailsOnMap (#260) 2020-07-23 15:49:43 +00: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
f7da62ce3a chore: Fix referenced view ID. 2020-06-15 10:48:29 -07:00
Chris Arriola
31a5d6ce03 chore: Update docs link for Cloud Based Map Styling. 2020-06-15 09:15:46 -07:00
Chris Arriola
4014eaf4bb Merge branch 'chris/v3-beta/3.1.0' 2020-06-15 08:46:55 -07:00
Chris Arriola
c26ca13366 docs: Adding note about product flavors. 2020-06-12 15:14:11 -07:00
Chris Arriola
039244ca50 feat: Add samples for V3 BETA 3.1.0 release. 2020-06-12 14:05:02 -07:00
Chris Arriola
325cc756a2 chore: Prevent force unwrapping. 2020-06-12 10:06:33 -07:00
googlemaps-bot
35e72cf23f
chore: Generate V3 samples (#244) 2020-06-04 10:44:46 -07:00
Sean Barbeau
1a5513f133
chore: Update Circle, Polygon, and Polyline demo activities (#245)
* Remove Hungarian notation from variables
* Remove redundant view casts
2020-06-04 09:29:58 -04: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
dependabot-preview[bot]
8bb3e6f2df
chore(deps): bump play-services-base in /ApiDemos/java (#242) 2020-06-03 18:42:03 +00:00
dependabot-preview[bot]
dca00a27a7
chore(deps): bump play-services-base in /ApiDemos/kotlin (#241) 2020-06-03 18:41:58 +00:00
Chris Arriola
abb75edd0c
build: Run generateV3 generateV3Layout periodically. (#240)
* build: Run generateV3 generateV3Layout periodically.

* Update generate_v3.yml

* Rename generate_v3.yml to generate-v3.yml

* Update generate-v3.yml
2020-06-03 11:41:21 -07:00
Chris Arriola
e5580ef99b
chore: Add region tags in MapsMarkerActivity. (#238) 2020-06-02 11:09:23 -07:00
dependabot-preview[bot]
997740ab9a
chore(deps): bump play-services-base in /ApiDemos/java (#235) 2020-06-02 17:34:39 +00:00
dependabot-preview[bot]
bc648c0d31
chore(deps): bump play-services-basement in /ApiDemos/kotlin (#236) 2020-06-02 17:34:31 +00:00
dependabot-preview[bot]
fb52adb503
chore(deps): bump play-services-base in /ApiDemos/kotlin (#237) 2020-06-02 17:34:16 +00: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
dependabot-preview[bot]
c626549560
chore(deps): bump core-ktx in /tutorials/kotlin/MapWithMarker (#219) 2020-05-28 16:08:51 +00:00
dependabot-preview[bot]
b214f3be4e
chore(deps): bump core-ktx in /tutorials/kotlin/CurrentPlaceDetailsOnMap (#217) 2020-05-28 03:59:34 +00:00
dependabot-preview[bot]
e85d4679cc
chore(deps): bump places in /tutorials/kotlin/CurrentPlaceDetailsOnMap (#218) 2020-05-28 03:59:21 +00:00
Chris Arriola
693275318b
chore: Add Kotlin version of CurrentPlaceDetailsOnMap. (#215) 2020-05-27 20:38:40 -07:00
dependabot-preview[bot]
2dccc34eca
chore(deps): bump places in /tutorials/java/CurrentPlaceDetailsOnMap (#216) 2020-05-27 15:26:58 +00: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
Chris Arriola
a14087f52c
chore: Remove 'silent' from END_EXCLUDE tags (#214) 2020-05-26 14:33:38 -07:00
Chris Arriola
8da74564d6
chore: Remove KTX and lifecycle dependencies from MapsMarkerActivity (#213) 2020-05-26 10:42:02 -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
7fdbaa234f chore: Add CODEOWNERS file.
Closes #185
2020-05-15 09:41:34 -07: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
dependabot-preview[bot]
ffe9d8f1bc
chore(deps): bump maps-ktx in /tutorials/kotlin/MapWithMarker (#202)
Bumps [maps-ktx](https://github.com/googlemaps/android-maps-ktx) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/googlemaps/android-maps-ktx/releases)
- [Changelog](https://github.com/googlemaps/android-maps-ktx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googlemaps/android-maps-ktx/compare/v1.4.0...v1.5.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-05-14 08:46:14 -07:00
Chris Arriola
fc64eca151
chore: ApiDemos for Maps SDK V3 BETA (#199)
* chore: Adding samples for V3.

Adding samples for V3 BETA in a new module `app-v3`. These samples are
generated by the `generateV3` Gradle task which runs when the `app`
module is built.

TODOs left:
- [ ] Update README with a note about V3 samples

* Update README and location of secure.properties.

* Using product flavors instead of creating a new module for V3 & GMS.

* Update build workflow to run lint and assemble on all flavor/build types.

* Not using deprecated API.

* Install Android NDK.

* Update license headers.
2020-05-12 17:15:09 -07:00
Chris Arriola
ba01ea47ff
feat: Adding Kotlin version of PolyActivity (#197)
* chore: Modify how API key is provided

* Creating kotlin version of Polygons.

* Add region tag for maps_poly_activity_get_map_async

* Add region tag for maps_poly_activity_on_map_ready

* Add region tag for maps_poly_activity_add_polyline

* Add region tag for maps_poly_activity_add_polyline_set_tag

* Add regiontag maps_poly_activity_style_polyline

* Add region tag for maps_poly_activity_on_polyline_click

* Add region tag for maps_poly_activity_style_polygon

* Addressing comments.
2020-05-12 09:09:27 -07:00
Sean Barbeau
f9c52c7673
chore: Remove KTX from basic map demo (#196) 2020-05-08 18:28:54 -04:00
Chris Arriola
5ac76bb18b
chore: Adding regiontag for MapsMarkerActivity (#195) 2020-05-08 08:45:09 -07:00
Chris Arriola
69f17a8fb0
feat: Adding kotlin sample for MapWithMarker. (#192)
* feat: Adding kotlin sample for MapWithMarker.

* Using gradle technique for passing the API key

* Adding license headers.

* Modify java MapWithMarker to use secure.properties as well.

* Adding more license headers

* Update build.yml cd

* Fix dir.

* Using maps_api_key

* Update tutorials/kotlin/MapWithMarker/app/src/main/java/com/example/mapwithmarker/MapsMarkerActivity.kt

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

* Comments

* Add missing import

Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>
2020-05-07 15:02:38 -07: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