Skip to content

Conversation

@phpduy
Copy link
Contributor

@phpduy phpduy commented Nov 22, 2024

No description provided.

layoutConfig: W3WMapDefaults.LayoutConfig = W3WMapDefaults.defaultLayoutConfig(),
mapConfig: W3WMapDefaults.MapConfig = W3WMapDefaults.defaultMapConfig(),
mapState: W3WMapState,
locationSource: W3WLocationSource? = null,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since we are exposing the mapState, the client already has control over the composable. Therefore, the locationSource parameter is unnecessary. Instead, we provide a callback to notify when the MyLocation button is clicked.

@kaytran2992 kaytran2992 merged commit b9475b9 into epic/MT-6865-Create-a-new-UI-for-Map-component Nov 22, 2024
2 checks passed
@kaytran2992 kaytran2992 deleted the implement-camera-control-in-map-manager branch November 22, 2024 07:55
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.

4 participants