Skip to content

Commit ad771d4

Browse files
committed
change visible to borderVisible
1 parent 71e007c commit ad771d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Samples/Map/Map style options/Map style options.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@
105105
style: getPropertyValue('style', getSelectValue('style')),
106106
light: (Object.keys(light).length > 0)? light: undefined,
107107
styleOverrides: (obj => Object.keys(obj).length > 0 ? obj : undefined)(Object.fromEntries([
108-
['countryRegion', { visible: document.getElementById('showCountryBorders').checked }],
109-
['adminDistrict', { visible: document.getElementById('showAdminDistrictBorders').checked }],
110-
['adminDistrict2', { visible: document.getElementById('showSecondAdminDistrictBorders').checked }],
108+
['countryRegion', { borderVisible: document.getElementById('showCountryBorders').checked }],
109+
['adminDistrict', { borderVisible: document.getElementById('showAdminDistrictBorders').checked }],
110+
['adminDistrict2', { borderVisible: document.getElementById('showSecondAdminDistrictBorders').checked }],
111111
['buildingFootprint', { visible: document.getElementById('showBuildingFootprints').checked }],
112112
['roadDetails', { visible: document.getElementById('showRoadDetails').checked }]
113113
].filter(([_, v]) => !removeDefaults || !v.visible))),

0 commit comments

Comments
 (0)