Skip to content

Instantly share code, notes, and snippets.

@ischenkodv
Created October 16, 2013 12:09
Show Gist options
  • Save ischenkodv/7006705 to your computer and use it in GitHub Desktop.
Save ischenkodv/7006705 to your computer and use it in GitHub Desktop.
Usage of SymbolPath as a google maps marker icon.
// 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