Subversion Repositories SmartDukaan

Rev

Rev 27372 | Rev 27402 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27372 Rev 27373
Line 39... Line 39...
39
	  const lineSymbol = {
39
	  const lineSymbol = {
40
	    path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
40
	    path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
41
	  };
41
	  };
42
	#foreach($location in $locations)
42
	#foreach($location in $locations)
43
	coordinates.push({lat: $location.getLat(), lng: $location.getLng()});
43
	coordinates.push({lat: $location.getLat(), lng: $location.getLng()});
44
	icons.push({icon: lineSymbol, offset: "50%"}
44
	icons.push({icon: lineSymbol, offset: "50%"});
45
	#end
45
	#end
46
	  const flightPath = new google.maps.Polyline({
46
	  const flightPath = new google.maps.Polyline({
47
	    path: coordinates,
47
	    path: coordinates,
48
	    icons: icons,
48
	    icons: icons,
49
	    geodesic: true,
49
	    geodesic: true,