<PopupActionCopyWkt />

Constructor

# <PopupActionCopyWkt decimalPlaces feature translations />

Popup action item to copy geometry as WKT to clipboard
PropTypes:
Name Type Required Description Default
decimalPlaces number No The number of decimal places in the output WKT coords 5
feature object No The OpenLayers feature of the current popup page
translations shape Yes Object with key/value pairs for translated strings

View Source Popup/PopupActions/PopupActionCopyWkt/PopupActionCopyWkt.js, line 14