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

[REFACTORING] many code uses hard coded MapStyles[0] #3370

Open
JinIgarashi opened this issue Apr 22, 2024 · 0 comments
Open

[REFACTORING] many code uses hard coded MapStyles[0] #3370

JinIgarashi opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@JinIgarashi
Copy link
Contributor

JinIgarashi commented Apr 22, 2024

Refactoring Description

needs to refactoring where hard coding MapStyles[0]. This should refer to default map style setting from UserConfig.

Refacotring components

refactor the code where using MapStyles constant variable like MapStyles[0].uri

Refactoring Implementation

I am thinking to load MapStyles[0].uri at +layout.server.ts, so these code can be simplified a lot.

Refactoring Impact

No response

┆Issue is synchronized with this Wrike task by Unito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant