Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created November 20, 2016 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save here-devblog-gists/f07d117bac6fc694980daf8872cd6ec5 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/f07d117bac6fc694980daf8872cd6ec5 to your computer and use it in GitHub Desktop.
function HERETrafficPanel (element, map, options) {
this.element = element;
this.map = map;
this.trafficLayer = options.trafficLayer;
this.incidentsLayer = options.incidentsLayer;
this.state = {
showTraffic: false,
showIncidents: false
};
this.updatePanel();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment