Created
June 10, 2019 04:23
-
-
Save letswritetw/27a709ef1374be81be4b36dbbd642c32 to your computer and use it in GitHub Desktop.
google-map-api
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
let cityCircle = new google.maps.Circle({ | |
strokeColor: '#f1c40f', // 線條顏色 | |
strokeOpacity: 1, // 線條透明度 | |
strokeWeight: 5, // 線條粗度 | |
fillColor: '#f1c40f', // 圓形裡填滿的顏色 | |
fillOpacity: 0.35, // 圓形裡,填滿顏色的透明度 | |
map: map, | |
// 中心點 | |
center: { | |
lat: 34.9506901, | |
lng: 135.7468915 | |
}, | |
// 半徑 | |
radius: 8500 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment