Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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