Configuring Vector Tiles Provider |
SuperMap iServer supports the following types of vector tiles providers:
To configure a UGC vector tiles provider, follow these steps:
<provider name="vectorTile-China" class="com.supermap.services.providers.UGCMVTProvider">
<config class="com.supermap.services.providers.UGCMVTProviderSetting">
<workspacePath>server=../samples/data/China/China100.smwu;password=supermap</workspacePath>
<multiThread>true</multiThread>
<poolSize>0</poolSize>
</config>
</provider>
Where the class in <provider> specifies the implementation class of UGC provider, and the class in <config> indicates the configuration class for UGC provider, namely UGCMVTProviderSetting. The content within <config> corresponds to the configuration items of UGCMVTProviderSetting:
<workspacePath>server=../samples/data/China/China100.smwu;password=supermap</workspacePath>
Additionally, workspace paths support reading from environment variables and system configuration files. Example:
<workspacePath>server=${datapath1}/China.sxwu;password=supermap</workspacePath>
For details, see: Preset Local Workspace Path