new ServiceBase(url, options)
Usage
import { ServiceBase } from '@supermapgis/iclient-leaflet';
new ServiceBase(url, options);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.ServiceBase({paramsNames});
</script>
leaflet/services/ServiceBase.js, line 6
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
服务地址。具体地址类型由子类决定。 |
|||||||||||||||
options |
Object |
参数。
|
Fires
Extends
ServiceBase
-> L.Evented
Subclasses
AddressMatchService
, ChartService
, DataFlowService
, DatasetService
, DatasourceService
, FeatureService
, FieldService
, GeoprocessingService
, GridCellInfosService
, ImageCollectionService
, ImageService
, KnowledgeGraphService
, LayerInfoService
, MapService
, MeasureService
, NetworkAnalyst3DService
, NetworkAnalystService
, ProcessingService
, QueryService
, SpatialAnalystService
, ThemeService
, TrafficTransferAnalystService
, WebPrintingJobService
Events
-
destroy
leaflet/services/ServiceBase.js, line 58 -
资源释放成功后触发。
Properties:
Name Type Description thisServiceBase this 对象。
-
initialized
leaflet/services/ServiceBase.js, line 45 -
构造函数构造成功后触发。
Properties:
Name Type Description thisServiceBase this 对象。
Methods
-
destroy()
leaflet/services/ServiceBase.js, line 53 -
释放资源,将引用的资源属性置空。