Created
October 16, 2013 12:09
-
-
Save ischenkodv/7006705 to your computer and use it in GitHub Desktop.
Usage of SymbolPath as a google maps marker icon.
This file contains hidden or 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
// Usage of SymbolPath as a marker icon | |
var marker = new google.maps.Marker({ | |
position: new google.maps.LatLng(-122.5,47.5), | |
icon: { | |
path: google.maps.SymbolPath.CIRCLE, | |
fillOpacity: 0.5, | |
fillColor: 'ff0000', | |
strokeOpacity: 1.0, | |
strokeColor: 'fff000', | |
strokeWeight: 3.0, | |
scale: 20 //pixels | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment