0
When drawing an editable square on the map, those "dots" appear in the corners, which are the clickable areas to resize the square.
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 10,
center: {lat: 44.5452, lng: -78.5389},
mapTypeId: google.maps.MapTypeId.TERRAIN
});
// [START region_rectangle]
var bounds = {
north: 44.599,
south: 44.490,
east: -78.443,
west: -78.649
};
// Define a rectangle and set its editable property to true.
var rectangle = new google.maps.Rectangle({
bounds: bounds,
editable: true
});
// [END region_rectangle]
rectangle.setMap(map);
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#map {
height: 100%;
}
<div id="map"></div>
<script async defer src="https://maps.googleapis.com/maps/api/js?callback=initMap"></script>
You can style those "little balls"?
Could you edit the question with a print about the "ball" you’re talking about? I ended up confusing it with the markers.
– Giancarlo Abel Giulian
You can put up a print?
– PauloHDSousa
I edited the post, put the link
– GilCarvalhoDev