react-native-web-maps icon indicating copy to clipboard operation
react-native-web-maps copied to clipboard

Fix #5 and add showsMyLocationButton

Open omardlhz opened this issue 10 months ago • 1 comments

Fixes #5 and adds showMyLocationButton.

It converts a ReactDOM to a HTMLElement and appends it to map controls.

If we dont want to use ReactDOM, we can create an html element like here:

https://github.com/margaridafp/google-maps-current-location/blob/d6c3c5c1ec2c2d8e5165c7729ad9d02502556555/src/LocationButton.ts

Screenshot:

image

omardlhz avatar Apr 26 '24 04:04 omardlhz

Hey! Thanks for the PR. Let me know if this is ready to merge! LGTM!

teovillanueva avatar Apr 27 '24 00:04 teovillanueva