H.map.DomIcon.Options
Type Definition Summary
This object encapsulates options used to initialize a DomIcon
.
[ For full details, see the Type Definition Details ]
Property Summary
Properties |
---|
A callback to be invoked before a clone of the icon's element is appended and displayed on the map. This callback can be used to set up the clone. |
A callback to be invoked after a clone of the icon's element is removed from the map. This callback can be used to clean up the clone. |
Type Definition Description
This object encapsulates options used to initialize a DomIcon
.
Property Details
onAttach: {function(Element, H.map.DomIcon, H.map.DomMarker)=} [optional]
A callback to be invoked before a clone of the icon's element is appended and displayed on the map. This callback can be used to set up the clone.
onDetach: {function(Element, H.map.DomIcon, H.map.DomMarker)=} [optional]
A callback to be invoked after a clone of the icon's element is removed from the map. This callback can be used to clean up the clone.