Example
import ButtonExport from "gpf-ext-ol/controls/ButtonExport"
ou
import { ButtonExport } from "gpf-ext-ol"
Type Definitions
-
button:clickedObject
-
event triggered when the export is finished
Properties:
Name Type Description type Object event
target Object instance Export
content String export data
name String name
description String description
format String format : kml, geojson, ...
layer Object layer
Example
Export.on("button:clicked", function (e) { console.log(e.target); })