Skip to content

Commit b5529cc

Browse files
authored
Add comment tag and region for feature layer retrieval
Added region to indicate start and end of feature layer retrieval.
1 parent 3d1fc88 commit b5529cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/boundaries-simple/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ async function initMap() {
2424
// Get the inner map.
2525
const innerMap = mapElement.innerMap;
2626

27+
// [START maps_boundaries_simple_get_layer]
28+
// Get the feature layer.
2729
featureLayer = innerMap.getFeatureLayer(google.maps.FeatureType.LOCALITY);
30+
// [END maps_boundaries_simple_get_layer]
2831

2932
// [START maps_boundaries_simple_style_single]
3033
// Define a style with purple fill and border.

0 commit comments

Comments
 (0)