mardi 7 mai 2019

Google maps in Reactjs. App wants location permission and get "latitude" and "longitude" and save them. Extract a resuable map component

I'm making a Reactjs app where i want to show google maps in app... i want to implement the following

my app will want permissions from user to get his current location and get the "latitude" and "longitude" and save them. also display the place name below the map (current location) .

i want to use a reusable component from where i can get the "latitude" and "longitude" and save them in the parent component. Please help me.

i have tried alot but confused.




Aucun commentaire:

Enregistrer un commentaire