# react-native-gmapsview

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

Latest version **2.0.0** (published 2020-02-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-gmapsview
pnpm add react-native-gmapsview
yarn add react-native-gmapsview
bun add react-native-gmapsview
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-02-12 |
| First published | 2019-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Thomas Martin |
| Maintainers | appli-prmtv |
| Keywords | react-native, gmaps, google-maps, iframe, embed, android, ios |

## Links

- npm: https://www.npmjs.com/package/react-native-gmapsview
- Repository: https://github.com/AppliNH/ReactNative-GMapsViewComponent
- Homepage: https://github.com/AppliNH/ReactNative-GMapsViewComponent#readme
- Issues: https://github.com/AppliNH/ReactNative-GMapsViewComponent/issues
- npm.io page: https://npm.io/package/react-native-gmapsview

## Dependencies (5)

- [expo](https://npm.io/package/expo.md) ^36.0.0
- [react](https://npm.io/package/react.md) 16.9.0
- [react-native](https://npm.io/package/react-native.md) https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz
- [react-native-maps](https://npm.io/package/react-native-maps.md) 0.26.1
- [react-native-vector-icons](https://npm.io/package/react-native-vector-icons.md) ^6.6.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2020-02-12
- 1.0.6 — 2019-11-21
- 1.0.5 — 2019-11-20
- 1.0.4 — 2019-11-20
- 1.0.3 — 2019-11-20
- 1.0.2 — 2019-11-20
- 1.0.1 — 2019-11-20
- 1.0.0 — 2019-11-20

## README

# 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](https://i.ibb.co/KNYBRjD/Screenshot-20200212-225529.jpg)

    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
 - **address** : the postal address you want the marker to point to
 - **gMaps** : the gmaps link of this address, in case the user clicks on the view, it opens up Google Maps.
- **apiKey** : the api key you get at https://developer.mapquest.com/documentation/open/

# Example

    <GMapsView address="24 rue des poules, 67000 Strasbourg" gMaps="https://g.page/bluemoonstrasbourg?share" apiKey="123APIKEYblabla" />

---
_Source: https://npm.io/package/react-native-gmapsview · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
