Skip to content

Conversation

@danji90
Copy link
Contributor

@danji90 danji90 commented Oct 30, 2025

How to

Others

  • It's not a hack or at least an unauthorized hack :).
  • The images added are optimized.
  • Everything in ticket description has been fixed.
  • The author of the MR has made its own review before assigning the reviewer.
  • The title means something for a human being and follows the conventional commits specification.
  • The title contains [WIP] if it's necessary.
  • Labels applied. if it's a release? a hotfix?
  • The new class' members & methods are well documented
  • Tests added.

@danji90 danji90 requested a review from oterral October 30, 2025 14:04
@danji90 danji90 self-assigned this Oct 30, 2025
@danji90 danji90 added the enhancement New feature or request label Oct 30, 2025
@vercel
Copy link

vercel bot commented Oct 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
mobility-toolbox-js Ready Ready Preview Comment Nov 3, 2025 10:52am

* @param {String} kmlString A string representing a KML file.
* @returns {Object} An object containing the document properties (name, description, zoomLimits).
*/
public getDocumentProperties(
Copy link
Collaborator

@oterral oterral Nov 3, 2025

Choose a reason for hiding this comment

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

you never use this method, so if it is a utility method for Mapset . Creates someting more generic, so we could use it like this , when we need it (with good type for the parameter):

getDocumentProperty("name")
getDocumentProperty("description")
getDocumentProperty("zoomLimits")

it will be easier to maintain if we add more properties.

Copy link
Collaborator

@oterral oterral left a comment

Choose a reason for hiding this comment

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

lgtm , minor refactoring to make more generic. and add tests of course

@danji90
Copy link
Contributor Author

danji90 commented Nov 4, 2025

@oterral I made the method more generic, please check again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

3 participants