Created
September 19, 2016 16:28
-
-
Save domenicomonaco/88b76b617ebb2436950fd055a286da56 to your computer and use it in GitHub Desktop.
Circle_Draw_GOOGLE_map_pixe_VS_radius
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 cityCircle = new google.maps.Circle({ | |
strokeColor: '#FF0000', | |
strokeOpacity: 0.5, | |
strokeWeight: 2, | |
fillColor: '#FF0000', | |
fillOpacity: 0.35, | |
map: map, | |
center: latLng, | |
radius: 30 | |
}); | |
new google.maps.Marker({ | |
position: latLng, | |
icon: { | |
path: google.maps.SymbolPath.CIRCLE, | |
scale: 20, | |
strokeWeight: 1, | |
}, | |
map: map | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment