Skip to content

Commit

Permalink
Update max supported layer count (opensearch-project#332) (opensearch…
Browse files Browse the repository at this point in the history
…-project#334)

Since layer panel has scroll bar, we can
allow user to add up to 100.
Later, this will be moved to map settings.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
(cherry picked from commit d0f9e7b)

Co-authored-by: Vijayan Balasubramanian <vijayan.balasubramanian@gmail.com>
  • Loading branch information
opensearch-trigger-bot[bot] and VijayanB committed Mar 8, 2023
1 parent b576bb7 commit 2da38d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const MAP_LAYER_DEFAULT_NAME = 'Default map';
export const MAP_LAYER_DEFAULT_OPACITY_STEP = 1;
export const MAP_REFERENCE_LAYER_DEFAULT_OPACITY = 100;
// Make this configurable from map settings
export const MAX_LAYER_LIMIT = 20;
export const MAX_LAYER_LIMIT = 100;
export const MAX_LAYER_NAME_LIMIT = 35;
export const MAX_LONGITUDE = 180;
export const MIN_LONGITUDE = -180;
Expand Down

0 comments on commit 2da38d5

Please sign in to comment.