Skip to content

A ReactNative component which allows you to generate a custom GMaps iframe for any postal address

Notifications You must be signed in to change notification settings

PrimitivoFR/ReactNative-GMapsViewComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactNative-GMapsViewComponent

A ReactNative component which allows you to generate a mini GMaps view for any postal address.

I use with on a Expo-RN app I'm currently working on.

Screenshot

npm i react-native-gmapsview

How Do I Use This ?

Import it like this, and use it like in the example

import { GMapsView } from 'react-native-gmapsview';

Also, you need to get an apiKey at https://developer.mapquest.com/documentation/open/ . I use this awesome service to get lattitude and longitude coordinates from a postal address.

Finally, you need to setup your GMaps APIKEY in your app.json .

Props

Example

<GMapsView address="24 rue des poules, 67000 Strasbourg" gMaps="https://g.page/bluemoonstrasbourg?share" apiKey="123APIKEYblabla" />

About

A ReactNative component which allows you to generate a custom GMaps iframe for any postal address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published