Closed Semro closed 1 year ago
Hello! Is it possible to get map instance through withYMaps hook that was created in other component with useYMaps?
withYMaps
useYMaps
@Semro Hello! No, you can't access to the instance of Map through hook useYMaps. To access a map instance use instanceRef prop on Map component.
instanceRef
I see. Thank you!
Hello! Is it possible to get map instance through
withYMaps
hook that was created in other component withuseYMaps
?