File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ export const CONFIG: Config = {
2020 } ,
2121 FEATURES_DISABLING : {
2222 isShowLayersSwitcher : true ,
23- isShowZoomControls : true ,
23+ isShowZoomControl : true ,
2424 } ,
2525} ;
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import { LayersSwitcher } from "./LayersSwitcher";
99import { Pins } from "./Pins" ;
1010
1111const { MAP , ZOOM_CONTROL , FEATURES_DISABLING } = CONFIG ;
12- const { isShowLayersSwitcher, isShowZoomControls } = FEATURES_DISABLING ;
12+ const { isShowLayersSwitcher, isShowZoomControl } = FEATURES_DISABLING ;
1313
1414export const Geomap : FC = ( ) => (
1515 < HeightContainer >
1616 < MapContainer { ...MAP } className = "geomap_container" >
17- { isShowZoomControls && < ZoomControl { ...ZOOM_CONTROL } /> }
17+ { isShowZoomControl && < ZoomControl { ...ZOOM_CONTROL } /> }
1818 { isShowLayersSwitcher && < LayersSwitcher /> }
1919 < Pins />
2020 </ MapContainer >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type ZoomControlConfig = Control.ZoomOptions;
1919
2020interface FeaturesDisablingConfig {
2121 isShowLayersSwitcher : boolean ;
22- isShowZoomControls : boolean ;
22+ isShowZoomControl : boolean ;
2323}
2424
2525export interface Config {
You can’t perform that action at this time.
0 commit comments