react-map-interaction
react-map-interaction copied to clipboard
Resetting pan to defaultTranslation?
Is it currently possible to somehow trigger a reset to the defaultTranslation passed in?
Eg have a button outside that triggers the MapInteractionCss to reset to its defaultTranslation?
Passing it a translation prop seems to fix the translation to that x and y, with panning disabled.