geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
509 stars 394 forks source link

Enhanced Customization for Highlight Styles in Feature Selection #10536

Open congchen1101 opened 1 month ago

congchen1101 commented 1 month ago

Description

This enhancement introduces the ability to customize highlight styles for features selected through clicking on the map or via the featureEditor. Users can now define highlight styles such as color, line thickness, and opacity in the localConfig.json, enabling more visually distinctive and contextually relevant feature highlighting.

What kind of improvement you want to add? (check one with "x", remove the others)

tdipisa commented 1 month ago

Dear @congchen1101. Thank you for using MS. Is this coming from an opened discussion in mailing list? Is this something you have in plan to contribute for?

congchen1101 commented 1 month ago

Hello @tdipisa,

Yes, this is something I am planning to contribute.

Best regards, Cong Chen

tdipisa commented 1 month ago

Hello @tdipisa,

Yes, this is something I am planning to contribute.

Best regards, Cong Chen

Hi @congchen1101 interesting. Thank you. Anyway, the issue you have opened is quite generic and it is not so clear what you would like to achieve with this at the UI/UX level. I'm wondering if you have already discussed that on the mailing list, that's something I suggest you to do if your purpose is to contribute to the MS core. The goal in staying in touch with the MS's ML is to provide your proposal and find a proper agreement for it with the dev core team members. Thank you so much again for using and developing with MapStore.

congchen1101 commented 1 month ago

Hi @tdipisa,

Thank you for your feedback and suggestion. I apologize if my initial issue description was too generic. To clarify, my goal with this enhancement is to allow developers to define custom highlight styles for selected features, specifically focusing on properties like color and line thickness. This would provide more flexibility and control over the map’s visual representation.

It’s important to note that this change will not alter the current default highlight styles; if users do not make any additional definitions, the existing highlight behavior will remain unchanged.

I will take your advice and start a discussion on the mailing list to provide a more detailed proposal and gather feedback from the core dev team members.

Thank you again for your guidance. I look forward to collaborating further to make this contribution beneficial to the MapStore community.

Best regards, Cong Chen