Created
July 16, 2013 10:20
-
-
Save nimdraugsael/6007539 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var plane_symbol = { | |
path: 'M 10.942,0 C 10.627,0 10.362,0.115 10.141,0.347 9.926,0.575 9.816,0.846 9.816,1.152 V 7.945 L 0,13.94 v 2.358 l 9.819,-3.11 v 5.127 L 7.63,20.393 V 22 L 11.001,21.022 14.31,22 V 20.392 L 12.189,18.316 V 13.188 L 22,16.296 V 13.938 L 12.188,7.946 V 1.152 C 12.188,0.845 12.063,0.574 11.832,0.346 11.594,0.115 11.314,0 11.001,0 h -0.059 z', | |
fillColor: "blue", | |
fillOpacity: 0.05, | |
strokeOpacity: 0.3, | |
scale: 1, | |
anchor: new google.maps.Point(11, 3) | |
}; | |
var flightPath = new google.maps.Polyline({ | |
path: flight_path_coordinates, | |
icons: [{ | |
icon: plane_symbol, | |
offset: '20%' | |
}], | |
strokeColor: "#0000FF", | |
strokeOpacity: 0.5, | |
strokeWeight: 0.5 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment