From d57783f1168651a5d515b1c7b34e81b529d68081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Lo=CC=81pez=20Man=CC=83as?= Date: Wed, 28 Aug 2024 17:12:31 +0200 Subject: [PATCH] feat: added region tags --- .../java/com/example/mapdemo/DataDrivenBoundariesActivity.java | 2 ++ .../com/example/mapdemo/DataDrivenDatasetStylingActivity.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenBoundariesActivity.java b/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenBoundariesActivity.java index 8059a3fbf..beb3f9d79 100644 --- a/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenBoundariesActivity.java +++ b/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenBoundariesActivity.java @@ -43,6 +43,7 @@ * on how the Data-driven styling for boundaries work, check out the following link: * https://developers.google.com/maps/documentation/android-sdk/dds-boundaries/overview */ +// [START maps_android_data_driven_styling_boundaries] public class DataDrivenBoundariesActivity extends AppCompatActivity implements OnMapReadyCallback, FeatureLayer.OnFeatureClickListener { @@ -224,3 +225,4 @@ private List getPlaceIds(List features) { return placeIds; } } +// [END maps_android_data_driven_styling_boundaries] \ No newline at end of file diff --git a/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenDatasetStylingActivity.java b/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenDatasetStylingActivity.java index 80d6ae2f6..d0b1973c0 100644 --- a/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenDatasetStylingActivity.java +++ b/ApiDemos/java/app/src/main/java/com/example/mapdemo/DataDrivenDatasetStylingActivity.java @@ -41,6 +41,7 @@ * on how the Data-driven styling for boundaries work, check out the following link: * https://developers.google.com/maps/documentation/android-sdk/dds-datasets/overview */ +// [START maps_android_data_driven_styling_datasets] public class DataDrivenDatasetStylingActivity extends AppCompatActivity implements OnMapReadyCallback, FeatureLayer.OnFeatureClickListener { private static final LatLng SEATTLE = new LatLng(47.6062, -122.3321); @@ -249,3 +250,4 @@ private void styleDatasetsLayerClickEvent() { } } } +// [END maps_android_data_driven_styling_datasets] \ No newline at end of file