A method to update a divmarker configuration in a map location.
Parameter |
Value |
---|---|
config (optional): |
Configuration. |
offset: a point set |
Point locations { x: <x>, y: <y>} in pixels from the center point of the divmarker the text should be moved to. This is useful so that the text doesn't appear directly inside the center point. |
updateAll: boolean (default=false) |
Update all parameter values or merge with current parameter values. |
Example:
divmarker.update( { offset: {x: 0, y: 0} } );
Or
divmarker.update();