Skip to content

Files

Latest commit

Dec 9, 2017
9458f3d · Dec 9, 2017

History

History

gmap-rjs

gmap-rjs

uses requirejs with an async plugin to load the google maps api, no key required.

dragging the marker to a location in the map retrieves location data and sets values in text inputs. more info

# installs requirejs, requirejs optimizer, gulp and browsersync
$ npm install

# installs requirejs async plugin
$ bower install

# copies requirejs and the async plugin from local package manager folders into the app
$ gulp copy

# requirejs optimization from /src/js into /js
$ node node_modules/requirejs/bin/r.js -o require.build.js

# run
$ gulp server