Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created November 20, 2016 01:41
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/65afedfef2ffedd543be84382d089885 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/65afedfef2ffedd543be84382d089885 to your computer and use it in GitHub Desktop.
var trafficPanelOptions = {
trafficLayer: defaultLayers.normal.traffic,
incidentsLayer: defaultLayers.incidents
};
var trafficPanelElement = document.querySelector('#traffic-panel');
this.trafficPanel = new HERETrafficPanel(trafficPanelElement, this.map, trafficPanelOptions);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment