# @tomasperezv/js-simple-google-maps

> Interface for interacting with the Google Maps API

Latest version **1.2.3** (published 2017-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tomasperezv/js-simple-google-maps
pnpm add @tomasperezv/js-simple-google-maps
yarn add @tomasperezv/js-simple-google-maps
bun add @tomasperezv/js-simple-google-maps
```

## 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 | 1.2.3 |
| Published | 2017-01-05 |
| First published | 2017-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Tomás Pérez |
| Maintainers | tomasperezv |
| Keywords | google maps |

## Links

- npm: https://www.npmjs.com/package/@tomasperezv/js-simple-google-maps
- Repository: https://github.com/tomasperezv/js-simple-google-maps
- Homepage: https://github.com/tomasperezv/js-simple-google-maps#readme
- Issues: https://github.com/tomasperezv/js-simple-google-maps/issues
- npm.io page: https://npm.io/package/@tomasperezv/js-simple-google-maps

## Recent versions

- 1.2.3 (latest) — 2017-01-05
- 1.2.2 — 2017-01-04
- 1.2.1 — 2017-01-04

## README

js-simple-google-maps
=============
Interface for the Google Maps API V3.

Author
----------
Tomas Perez - tom@0x101.com

http://www.tomasperez.com

Examples
----------

```javascript
// Create a new map and render in the HTML element specified by param
var map = new SimpleGoogleMaps.Map({
  div: document.getElementById('map'),
  zoom: 5
});

// Center the map in a specific address
map.center('Madrid');

// Place a label with the text 'My home' in the position of the address
// returned by 'Stockholm'
map.searchByAddress('Stockholm', function(position) {
  map.addLabel(position, 'My home');
});

// Place a label, using lat and lng
var position = map.getPosition(lat, lng),
  label = map.addLabel(position, 'Custom label');

// Add a marker
var position = map.getPosition(lat, lng),
  label = map.addMarker(position);
```

License
-----------
Public Domain.

No warranty expressed or implied. Use at your own risk.

---
_Source: https://npm.io/package/@tomasperezv/js-simple-google-maps · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
