new ServiceBase(url, options)
Usage
import { ServiceBase } from '@supermapgis/iclient-mapboxgl';
new ServiceBase(url, options);<script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script>
<script>
new mapboxgl.supermap.ServiceBase({paramsNames});
</script>
mapboxgl/services/ServiceBase.js, line 7
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
服务地址。具体地址类型由子类决定。 |
|||||||||||||||
options |
Object |
参数。
|
Fires
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
-
initialized
mapboxgl/services/ServiceBase.js, line 32 -
构造函数构造成功之后触发。
Properties:
Name Type Description thisObject this 对象。