Global

Methods

addTo(map) ab v3

Adds a layer to the map.

Parameter: map

The parameter is of type ym.provider.Layer.

Return

bindPopup(content, options) ab v3

Binds a popup with a specific HTML content to a click

Parameter: content

The parameter is of type String or ym.provider.Popup

Return

closePopup() ab v3

Closes the popup bound to a marker if it is open.

Return

init(group, zoom, a, b) ab v3

Marker group class for grouped icons.

Parameters

Name Description Data type
group    
zoom    
a    
b    

openPopup() ab v3

Opens the popup previously bound by the bindPopup method.

Return

redraw() ab v3

Redraws the layer.

Return

removeFrom(map) ab v3

Removes the layer from another layer.

Parameter: map

Return

setPopupContent(content) ab v3

Sets the HTML content of the popup of this marker.

Parameter: content

Parameter is of type String.

Return

setStyle(style) ab v3

Changes the appearance of a path based on the options in the Path Options object.

Parameter: style

Return

togglePopup() ab v3

Turns the popup previously bound by the bindPopup method on and off.

Return

unbindPopup() ab v3

Removes the popup that was previously bound to the path with bindPopup

Return

Adds a layer to the map.