Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Regions
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Specifying images for the polyline editor

Save as filesEdit on JSFiddle

A visual editor is available for polylines. A link to the editor is in the editor field of the polyline object.

The vertexInteractiveOptions and edgeInteractiveOptions options allow you to use options with postfixes for the placemark vertices and interim points linked to the current status of the vertex. If you don't have to change the options of the vertices and the interim placemarks depending on their condition, you should disable the corresponding option. The following postfixes for the placemark vertices are available:

  • Hover - Options with this given postfix are used when the user hovers over a vertex with the mouse pointer.
  • Drag - Options with this given postfix are used when the user drags a vertex.
  • Active - Options with this given postfix are used when the context menu is open on a vertex.
Examples of such options: vertexLayoutHover, vertexIconImageSizeActive, vertexIconImageShapeHover, etc.

The following postfixes are available for intermediate points:

  • Hover - Options with this given postfix are used when the user hovers over a placemark with the mouse pointer.
  • Drag - Options with this given postfix are used when the user drags a placemark.
Examples of such options: edgeLayoutHover, edgeIconImageShapeHover, etc.