# gi-feature-map

> Google map with some extensions and additions to simplify usage.

Latest version **0.0.18** (published 2018-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install gi-feature-map
pnpm add gi-feature-map
yarn add gi-feature-map
bun add gi-feature-map
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.18 |
| Published | 2018-03-29 |
| First published | 2017-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Manuel Sommerhalder |
| Maintainers | goldinteractive-admin |

## Links

- npm: https://www.npmjs.com/package/gi-feature-map
- Repository: https://github.com/Goldinteractive/feature-map
- Issues: https://github.com/Goldinteractive/feature-map/issues
- npm.io page: https://npm.io/package/gi-feature-map

## Recent versions

- 0.0.18 (latest) — 2018-03-29
- 0.0.17 — 2018-02-27
- 0.0.16 — 2018-02-27
- 0.0.15 — 2017-08-25
- 0.0.14 — 2017-08-25
- 0.0.13 — 2017-08-25
- 0.0.12 — 2017-08-25
- 0.0.11 — 2017-08-24
- 0.0.10 — 2017-08-24
- 0.0.9 — 2017-03-02
- 0.0.8 — 2017-03-02
- 0.0.7 — 2017-03-02
- 0.0.6 — 2017-03-02
- 0.0.5 — 2017-03-02
- 0.0.4 — 2017-02-26
- … 3 more at https://npm.io/package/gi-feature-map/versions

## README

## `map` feature

Google map with some extensions and additions to simplify usage.

### Global dependencies

* [`gi-js-base`](https://github.com/Goldinteractive/js-base)

### Dependencies

* [`google map`](https://developers.google.com/maps/) (external)

### Installation

Install this package with sackmesser:

    make feature-install-map

or when sackmesser is not used:

    yarn install gi-feature-map

After the installation has completed, you can import the module files:

#### JS:

```javascript
// import feature class
import Map from 'gi-feature-map'
// ...
base.features.add('map', Map)
```

Make sure you provide the global dependencies in your webpack config file:

```javascript
new webpack.ProvidePlugin({
  base: 'gi-js-base'
})
```

#### Styles:

```sass
@import 'gi-feature-map/src/style';
```

#### Markup:

```html
<script src="//maps.googleapis.com/maps/api/js?libraries=geometry&key=[YOUR_API_KEY]"></script>
```

### Browser compatibility

* Newest two browser versions of Chrome, Firefox, Safari and Edge
* IE 10 and above

### Development

* `make build` or `npm run build` - Build production version of the feature.
* `make dev` or `npm run dev` - Build demo of the feature, run a watcher and start browser-sync.
* `make test` or `npm run test` - Test the feature.
* `make jsdoc` - Update documentation inside the `docs` folder.
* `make publish` - Publish npm package.

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