Skip to content
/ gmaps Public

Library to help with displaying a Google map with markers, overlays, and custom buttons

License

Notifications You must be signed in to change notification settings

aptuitiv/gmaps

Repository files navigation

@aptuitiv/gmaps

Gmaps makes it easier to display a Google map on a page and add markers, overlays, and other elements to it.

Install

Download from NPM.

npm install @aptuitiv/gmaps

Documentation

View the documentation.

Credit

Inspired by Leaflet.

Development

TLDR: run this to build and watch the code

npm run watch-all

Building and watching the code involves three parts.

  1. The Javascript code
  2. The CSS code
  3. The local server to test the code

Run the Javascript code only with npm run watch.

Run the CSS code only with npm run css-watch.

Run the local server with npm run site-serve.

Run all of them at once with npm run watch-all. This is our recommended method of working on the code as it'll watch the Javascript, the CSS, run the local site.