Closed teguhsatria892 closed 2 years ago
ignore it, i get solution
centerPolygonMiniMap(){
var bounds = new window.google.maps.LatLngBounds()
this.googleMapMiniData.polygonDataList[0].paths.forEach(path=> {
bounds.extend(path)
})
this.$refs.googleMapMiniDetail.map.fitBounds(bounds)
},
how i can fit bounds for polygon??