See https://comcastsamples.github.io/polymer-maps/ for codelab instructions.
The original instructions are for Polymer 1.x and require the use of Chrome Dev Editor to download & run the project. If you want to use a more recent version of Polymer and prefer to work with your own IDE, this is for you.
If you're not using CDE, you'll need to install some command-line tools to manage dependencies and to run the demo.
-
Download and install Node from https://nodejs.org/. Node includes the node package manager command,
npm. -
Install
polymer-cliglobally:npm install -g polymer-cli -
Clone this repo:
https://github.com/ComcastSamples/polymer-maps.git -
Change directory to your local repo and install dependencies with
npm:cd polymer-maps npm install -
To preview your app, run
polymer servefrom the repo directory:polymer serveOpen
http://localhost:8081in your browser
If you're wondering what polymer serve does, see Polymer CLI Commands in the Polymer docs.