Skip to content

@capacitor/google-maps: Sync with a draggable sheet/pane #6535

Closed Answered by AE1NS
AE1NS asked this question in Q&A
Discussion options

You must be logged in to vote

I tried to update the wrapper container of the map when dragging the sheet and call updateMapBounds (private method that can be called on the plugin instance, could also be triggered with window.dispatchEvent(new CustomEvent('resize'))). This works really well and fluid, but there is another issue with the plugin, because only the x and y values are updated but not the size of the map.
ionic-team/capacitor-plugins#1557
When its resolved, it should work on this way.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AE1NS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant