Google Maps JavaScript API scale Polygon keep aspect ratio

المشرف العام

Administrator
طاقم الإدارة
I drew a polygon on the map.now i want to re-size the polygon keeping the aspect ratio. i don't want to use google.maps.Rectangle.



this is my code

var pointsPoly = getPoints(); /* */ var ply = new google.maps.Polygon({ strokeWeight: 3, fillColor: '#5555FF', paths: pointsPoly , draggable:true }); for (var i=0; i
 
أعلى