Insert edit points blocking user interaction

1

Using the Javascript Maps API, with this code below I'm creating a PoLyline , which would be a line on the map passing an array array in the path . See:

Polyline maplines = new google.maps.Polyline({
  path: groups[i].arrLatLng,
  strokeColor: "#"+hexColors[i],
  strokeOpacity: 1,
  strokeWeight: 3,
  zIndex: 2,
  editable: true
})

I followed the example in Simple Polyline , on own Google Maps API documentation. See below the representation of 2 Polylines :

Inordertobeabletoeditthelineappearingthose"white balls" at each point, I set the editable property to true .

The point is, I want the line to be fixed without user interaction, but I want the "white balls" to remain. If I remove the editable property, the lines will stay fixed, but the "white balls" will disappear.

Would it be possible to insert the edit points (white balls) without the user being able to interact with the line? What would be the best way to do this?

    
asked by anonymous 09.08.2017 / 02:00

0 answers