basemap property
The basemap for this map or scene.
A basemap provides a background of geographical context for the content you display in a map or scene. It is an optional set of non-editable layers such as aerial imagery, roads, or landmarks, that help orient the user of the map or scene.
A basemap is composed of a collection of base layers (Basemap.baseLayers) and reference layers (Basemap.referenceLayers). Base layers are displayed at the bottom of a map or scene, and reference layers are displayed at the top, with the GeoModel.operationalLayers between them.
You can use ready-to-use basemaps, style your own basemaps with the ArcGIS Vector Tile Style Editor, or create and publish your own with ArcGIS Pro.
Implementation
Basemap? get basemap {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeoModel_getBasemap(
_handle,
errorHandler,
);
});
return Basemap._fromHandle(
objectHandle,
);
}
Implementation
set basemap(Basemap? value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_GeoModel_setBasemap(
_handle,
value?._handle ?? ffi.nullptr,
errorHandler,
);
});
}