We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bbf2f commit ca9ba05Copy full SHA for ca9ba05
samples/boundaries-simple/index.ts
@@ -24,8 +24,7 @@ async function initMap() {
24
// Get the inner map.
25
const innerMap = mapElement.innerMap;
26
27
- //@ts-ignore
28
- featureLayer = innerMap.getFeatureLayer('LOCALITY');
+ featureLayer = innerMap.getFeatureLayer(google.maps.FeatureType.LOCALITY);
29
30
// [START maps_boundaries_simple_style_single]
31
// Define a style with purple fill and border.
@@ -48,4 +47,4 @@ async function initMap() {
48
47
}
49
50
initMap();
51
-// [END maps_boundaries_simple]
+// [END maps_boundaries_simple]
0 commit comments