Skip to content

Commit

Permalink
updated map style images (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: Ahmad Azizi <[email protected]>
  • Loading branch information
wadhawh and its-aazizi authored Nov 8, 2024
1 parent e9b60df commit f372845
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 9 deletions.
Binary file removed src/assets/pngs/EsriLightGray.png
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/HereExplore.png
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/HereHybrid.png
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/HereImagery.png
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file added src/assets/pngs/Hybrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file removed src/assets/pngs/[email protected]
Binary file not shown.
Binary file added src/assets/pngs/Monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/pngs/Satellite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/pngs/Standard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/assets/pngs/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default as EsriLightGray } from "./EsriLightGray.png";
export { default as HereExplore } from "./HereExplore.png";
export { default as HereHybrid } from "./HereHybrid.png";
export { default as HereImagery } from "./HereImagery.png";
export { default as Loading } from "./Loading.png";
export { default as Standard } from "./Standard.png";
export { default as Monochrome } from "./Monochrome.png";
export { default as Hybrid } from "./Hybrid.png";
export { default as Satellite } from "./Satellite.png";
10 changes: 5 additions & 5 deletions src/core/constants/appConfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. */
/* SPDX-License-Identifier: MIT-0 */

import { EsriLightGray, HereExplore, HereHybrid, HereImagery } from "@demo/assets/pngs";
import { Hybrid, Monochrome, Satellite, Standard } from "@demo/assets/pngs";
import { MapColorSchemeEnum, MapStyleEnum } from "@demo/types/Enums";

const getEnv = (key: string) => {
Expand Down Expand Up @@ -111,10 +111,10 @@ const appConfig = {
}
},
MAP_STYLES: [
{ id: MapStyleEnum.STANDARD.toLowerCase(), name: MapStyleEnum.STANDARD, image: HereExplore },
{ id: MapStyleEnum.MONOCHROME.toLowerCase(), name: MapStyleEnum.MONOCHROME, image: EsriLightGray },
{ id: MapStyleEnum.HYBRID.toLowerCase(), name: MapStyleEnum.HYBRID, image: HereHybrid },
{ id: MapStyleEnum.SATELLITE.toLowerCase(), name: MapStyleEnum.SATELLITE, image: HereImagery }
{ id: MapStyleEnum.STANDARD.toLowerCase(), name: MapStyleEnum.STANDARD, image: Standard },
{ id: MapStyleEnum.MONOCHROME.toLowerCase(), name: MapStyleEnum.MONOCHROME, image: Monochrome },
{ id: MapStyleEnum.HYBRID.toLowerCase(), name: MapStyleEnum.HYBRID, image: Hybrid },
{ id: MapStyleEnum.SATELLITE.toLowerCase(), name: MapStyleEnum.SATELLITE, image: Satellite }
],
MAP_COLOR_SCHEMES: [
{ id: MapColorSchemeEnum.LIGHT.toLowerCase(), name: MapColorSchemeEnum.LIGHT },
Expand Down

0 comments on commit f372845

Please sign in to comment.