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>
(cherry picked from commit 2da38d5)
  • Loading branch information
opensearch-trigger-bot[bot] authored and A9 Swift Project User committed Mar 13, 2023
1 parent 255d654 commit 90a5ebf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions auto_sync_commit_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"last_github_commit": "b576bb7919187ca3eb47d498d6aae7974c895340",
"last_gitfarm_commit": "695dcdceabec08bf3390a0f8392947f873be56c7"
"last_github_commit": "2da38d5edb18ab71b1cd1198bb426cbb50489f28",
"last_gitfarm_commit": "aeede19b469814ef15c608a28f64e3e07254f6ab"
}
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 90a5ebf

Please sign in to comment.