@aptuitiv/gmaps
v0.16.0
Published
Library to help with displaying a Google map on a website with markers, overlays, tooltips, and other map elements.
Downloads
33
Readme
@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
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.
- The Javascript code
- The CSS code
- 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.