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
Also apply following changes to Java version:
* Refactor variables to remove Hungarian notation
* Remove redundant cast for TextView
* Fix spelling in string
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
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
* 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.
* 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.
* 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>
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
Previously the Java demo app API key was hard-coded directly in a versioned string resource file, which is dangerous as it's easy to accidentally commit your key into version control.
This PR adds a new process to add your own Google Maps API key for the Java demo app:
1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
1. Create a file in the `ApiDemos/java/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/java/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