ArcGISVectorTiledLayer.withItem constructor
- Item item
Creates an ArcGIS Vector Tiled Layer from a PortalItem.
Parameters:
item
— An Item.
Implementation
factory ArcGISVectorTiledLayer.withItem(Item item) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISVectorTiledLayer_createWithItem(
item._handle, errorHandler);
});
return Layer._instanceCache.instanceWith(handle);
}