geohub icon indicating copy to clipboard operation
geohub copied to clipboard

[REFACTORING] many code uses hard coded `MapStyles[0]`

Open JinIgarashi opened this issue 10 months ago • 0 comments

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

JinIgarashi avatar Apr 22 '24 04:04 JinIgarashi