public final class RemoteMapProviderFactory
extends java.lang.Object
Different sources of map service provider factory.
Through this factory, you can build service providers of map services from different sources.
Constructor and Description |
---|
RemoteMapProviderFactory() |
Modifier and Type | Method and Description |
---|---|
protected int |
checkLicense()
The license for examine.
|
static RemoteMapProviderFactory |
getInstance()
Obtain an instance of a remote map service provider factory.
|
MapProvider |
getMapProvider(ServiceInfo serviceInfo)
Get the map service provider based on endpoint information.
|
public static RemoteMapProviderFactory getInstance()
Obtain an instance of a remote map service provider factory.
protected int checkLicense()
The license for examine.
According to the user's product configuration, find the corresponding license information.
Currently requires the use of enterprise license.
public MapProvider getMapProvider(ServiceInfo serviceInfo)
Get the map service provider based on endpoint information. For example, if the endpoint type is "UGC", a SuperMap map service provider (UGCMapProvider
) is returned; if the endpoint type is "WMS", the WMS service provider (WMSMapProvider
) is returned.
When the method is called, the license is checked, please use the correct license configuration
serviceInfo
- Endpoint information.