Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config layer basic component #54

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Add config layer basic component #54

merged 1 commit into from
Oct 5, 2022

Conversation

junqiu-lei
Copy link
Member

Description

  • Add "config layer" basic component which can be triggered from "layer control" panel or "add new layer" modal
  • Add show/hide layer control component
  • Add Zoom in/out component on maplibre control

Screenshot

image

image

image

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@junqiu-lei junqiu-lei requested a review from a team September 28, 2022 18:07
{
label: 'Base Map',
iconType: 'visMapRegion',
id: 'example_id_1',
type: LAYER_TYPE.BASE_MAP,
name: 'Base Map Layer',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we remove Layer suffix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's a example, will update when integrated with layer models

Copy link
Member

@VijayanB VijayanB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Added some minor comment.

@junqiu-lei junqiu-lei requested a review from a team October 5, 2022 16:02
@@ -0,0 +1,9 @@

//TODO: this is used for UI component development, remove or update it once layer model ready
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a github issue or sprint task to address this todo item?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just created a gihub issue to track this. #56 Thanks!

Copy link
Member

@martin-gaievski martin-gaievski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@junqiu-lei junqiu-lei merged commit 9d8b5a1 into opensearch-project:feature/new-maps Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants