ArcGISMap.withBasemap constructor
- Basemap basemap
Creates a map with a Basemap.
Parameters:
basemap
— A basemap object.
Implementation
factory ArcGISMap.withBasemap(
Basemap basemap,
) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Map_createWithBasemap(
basemap._handle,
errorHandler,
);
});
return GeoModel._instanceCache.instanceWith(handle);
}