createLandmarkStore static method
Creates a new landmark store with the given name.
The created store uses LandmarkStoreType.defaultType. If a store with the same name
already exists the existing store instance is returned instead of creating a duplicate.
Parameters
name: The unique name for the store. If a store with this name already exists, the existing store is returned.zoom: The maximum zoom level at which the landmark store will be visible. Use-1to let the SDK choose a sensible default.folder: Filesystem folder where the store will be created. When empty the SDK's default storage location is used.
Returns
- LandmarkStore: Newly created or existing store instance.
Implementation
static LandmarkStore createLandmarkStore(
final String name, {
final int zoom = -1,
final String folder = '',
}) {
final OperationResult resultString = staticMethod(
'LandmarkStoreService',
'createLandmarkStore',
args: <String, Object>{'name': name, 'zoom': zoom, 'folder': folder},
);
final LandmarkStore retVal = LandmarkStore.init(resultString['result'], 0);
return retVal;
}