CanJS/DoneJS plugin for google maps places autcomplete custom user interfaces
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'can-places-autocomplete';
Use require
to load can-places-autocomplete
and everything else
needed to create a template that uses can-places-autocomplete
:
var plugin = require("can-places-autocomplete");
Load the global
version of the plugin:
<script src='./node_modules/can-places-autocomplete/dist/global/can-places-autocomplete.js'></script>