Skip to main content

GmapPolyline

PolyLine component

[See](source code) ,[See](official docs) ,[See](official reference)

Props

Prop nameDescriptionTypeValuesDefault
deepWatchIf set true the object will be deep watched
@value boolean
boolean-false
clickableIndicates whether this Polygon handles mouse events. Defaults to true.
@value true, false
@see Polyline draggable
boolean-false
draggableIndicates if the polyline is draggable
@value true, false
@see Polyline draggable
boolean-
editableIndicates if the polygon is editable
@value true, false
@see Polyline editable
boolean-
strokeColorThe stroke color. All CSS3 colors are supported except for extended named colors.
@value '#000'
@see Polyline editable
string-''
strokeOpacityThe stroke opacity between 0.0 and 1.0.
@value 1
@see Polyline editable
number-1
strokeWeightThe stroke width in pixels.
@value 1
@see Polyline editable
number-1
visibleWhether this polyline is visible on the map. Defaults to true.
@value 1
@see Polyline editable
boolean-true
optionsMore options that you can pass to the component
@value boolean
object-undefined
pathIndicates if the polygon is editable
@value Array
@see Polyline path
array-undefined

Events

Event namePropertiesDescription
path_changedpath array - this.$polygonObject.getPath()An event to detect when a path change