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