LocalMapService Class
A map service that runs on the local server. More...
Header: | #include <LocalMapService> |
Inherits: | LocalService |
Inherited By: |
Public Functions
LocalMapService(const QString &packagePath, QObject *parent = nullptr) | |
~LocalMapService() | |
QList<DynamicWorkspace *> | dynamicWorkspaces() const |
int | maximumRecords() const |
void | setDynamicWorkspaces(const QList<DynamicWorkspace *> &dynamicWorkspaces) |
void | setMaximumRecords(int maxRecords) |
- 6 public functions inherited from Esri::ArcGISRuntime::LocalService
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from Esri::ArcGISRuntime::LocalService
- 1 signal inherited from Esri::ArcGISRuntime::Object
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
A map service that runs on the local server.
Note: Local server is only available on Windows and Linux.
A local map service requires a map package file (.mpk
) which has been authored in ArcGIS Desktop.
Member Function Documentation
LocalMapService::LocalMapService(const QString &packagePath, QObject *parent = nullptr)
Constructor that takes a path to the map package file (packagePath) and an optional parent.
LocalMapService::~LocalMapService()
Destructor.
QList<DynamicWorkspace *> LocalMapService::dynamicWorkspaces() const
Returns the dynamic workspaces if any have been specified.
This function was introduced in Esri::ArcGISRuntime 100.1.
See also setDynamicWorkspaces().
int LocalMapService::maximumRecords() const
Returns the maximum number of records returned by the service.
The default value is 10000.
See also setMaximumRecords().
void LocalMapService::setDynamicWorkspaces(const QList<DynamicWorkspace *> &dynamicWorkspaces)
Sets the dynamic workspaces to dynamicWorkspaces.
This can only be set before the local map service has been started.
This function was introduced in Esri::ArcGISRuntime 100.1.
See also dynamicWorkspaces().
void LocalMapService::setMaximumRecords(int maxRecords)
Sets the maximum number of records returned by the service to maxRecords.
This number is limited to the maximum number of features visible in the map. The default value is 10000. This value must be set before the service starts.
See also maximumRecords().