Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var drawRoute = function(route) {
var routeShape = route.shape;
var strip = new H.geo.Strip();
routeShape.forEach(function(point) {
var parts = point.split(',');
strip.pushLatLngAlt(parts[0], parts[1]);
var routeLine = new, {
style: { strokeColor: ‘blue’, lineWidth: 3 }
// map.setViewBounds(routeLine.getBounds());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.