Configuring a provider
- Open the Configuration Editor and select the MapDrawerProviders configuration.
- Select the node for the agency’s GIS provider, or add a new provider node.
- Add the name attribute and specify a name for the provider.
-
Add the config attribute and specify the connection settings for your
provider.
The value of the config attribute is an XML <CONFIG> element that specifies the URLs of the map service and the geometry service. You can add other attributes to the <CONFIG> element as well, such as security credentials. The syntax varies depending on whether you're using ArcGIS® Server or OGC.
For ArcGIS Server, see ArcGIS Server syntax.
For OGC, see OGC syntax.
When you upgrade a provider, the settings from the config attribute are used to create the AUTHENTICATION and SERVERS nodes for the provider. The config attribute on the provider node is then cleared.
See Upgrading a provider.
-
Add the type attribute and specify the type of provider.
The type can be MapService_ArcGISServer, MapService_OGC, or MapService_none.
-
If this is your default provider, add the default attribute and set
the value to True.
When you set the default attribute of a provider to True, the default attribute for all other providers is automatically set to False.
- Save your changes.