com.esri.adf.web.data.export
Interface ExportFunctionality2
- All Superinterfaces:
- ExportFunctionality, GISFunctionality
- All Known Implementing Classes:
- AGSImageMapFunctionality, AGSMapFunctionality, AIMSMapFunctionality, GraphicsMapFunctionality, WMSMapFunctionality
public interface ExportFunctionality2
- extends ExportFunctionality
The implementations ExportFunctionality2 interface provide ways to export a map image for the associated GISResource.
In earlier releases, this responsibility sometimes overlapped with the MapFunctionality interface, but going forward
ExportFunctionality2 will be the preferred choice. ExportFunctionality2 builds on the behaviour defined by
ExportFunctionality by allowing the map image to be returned as either raw MIME data or as a URI pointing to the
image on a web server. Implementations should check WebMap.isUseMIMEData()
to decide how
to return the image.
exportMapImage
ExportImage exportMapImage()
- Returns a map image based on the current state (height, width, map extent, dpi, etc) of the
WebMap
.
exportMapImage
ExportImage exportMapImage(ExportProperties exportProperties)
- Returns a map image based parameters (height, width, map extent, dpi, etc) specified in the exportProperties
argument. It does not consider or alter the state of the
WebMap
.