@@ -70,8 +70,8 @@ const DEFAULT_WELLKNOWNSCALESET = ['GoogleCRS84Quad', 'GoogleMapsCompatible'];
7070 * <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
7171 * <p style="color: #ce4844">Notice</p>
7272 * <p style="font-size: 13px">该功能依赖 <a href='https://iclient.supermap.io/web/libs/geostats/geostats.js'>geostats</a> 和 <a href='https://iclient.supermap.io/web/libs/jsonsql/jsonsql.js'>JsonSql</a> 插件,请确认引入该插件。</p>
73- * `< script type="text/javascript" src="https://iclient.supermap.io/web/libs/geostats/geostats.js">< /script>`</br >
74- * `< script type="text/javascript" src="https://iclient.supermap.io/web/libs/jsonsql/jsonsql.js">< /script>`
73+ * <p style="font-size: 13px">< script type="text/javascript" src="https://iclient.supermap.io/web/libs/geostats/geostats.js">< /script></p >
74+ * <p style="font-size: 13px">< script type="text/javascript" src="https://iclient.supermap.io/web/libs/jsonsql/jsonsql.js">< /script></p>
7575 * </div>
7676 * @param {number } id - iPortal|Online 地图 ID。
7777 * @param {Object } options - 参数。
@@ -80,7 +80,7 @@ const DEFAULT_WELLKNOWNSCALESET = ['GoogleCRS84Quad', 'GoogleMapsCompatible'];
8080 * @param {string } [options.credentialKey] - 凭证密钥。
8181 * @param {string } [options.credentialValue] - 凭证值。
8282 * @param {boolean } [options.withCredentials=false] - 请求是否携带 cookie。
83- * @param {boolean } [options.excludePortalProxyUrl] - server 传递过来的 URL 是否带有代理。
83+ * @param {boolean } [options.excludePortalProxyUrl] - 服务端传递过来的 URL 是否带有代理。
8484 * @fires WebMap#getmapfailed
8585 * @fires WebMap#getwmtsfailed
8686 * @fires WebMap#getlayersfailed
@@ -103,8 +103,7 @@ export class WebMap extends mapboxgl.Evented {
103103 }
104104 /**
105105 * @function WebMap.prototype.resize
106- * @description map resize。
107- * @version 9.1.2
106+ * @description 地图 resize。
108107 */
109108 resize ( ) {
110109 this . map . resize ( ) ;
@@ -114,7 +113,6 @@ export class WebMap extends mapboxgl.Evented {
114113 * @function WebMap.prototype.setMapId
115114 * @param {string } mapId - webMap 地图 ID。
116115 * @description 设置 WebMap ID。
117- * @version 9.1.2
118116 */
119117 setMapId ( mapId ) {
120118 this . mapId = mapId ;
@@ -125,7 +123,6 @@ export class WebMap extends mapboxgl.Evented {
125123 * @function WebMap.prototype.setWebMapOptions
126124 * @param {Object } webMapOptions - webMap 参数。
127125 * @description 设置 webMap 参数。
128- * @version 9.1.2
129126 */
130127 setWebMapOptions ( webMapOptions ) {
131128 this . server = webMapOptions . server ;
@@ -136,7 +133,6 @@ export class WebMap extends mapboxgl.Evented {
136133 * @function WebMap.prototype.setMapOptions
137134 * @param {Object } mapOptions - map 参数。
138135 * @description 设置 map 参数。
139- * @version 9.1.2
140136 */
141137 setMapOptions ( mapOptions ) {
142138 let { center, zoom, maxBounds, minZoom, maxZoom, isWorldCopy, bearing, pitch } = mapOptions ;
@@ -1720,8 +1716,8 @@ export class WebMap extends mapboxgl.Evented {
17201716 * @description 添加图层成功。
17211717 * @property {mapboxgl.Map } map - MapBoxGL Map 对象。
17221718 * @property {Object } mapparams - 地图信息。
1723- * @property {string } mapParams .title - 地图标题。
1724- * @property {string } mapParams .description - 地图描述。
1719+ * @property {string } mapparams .title - 地图标题。
1720+ * @property {string } mapparams .description - 地图描述。
17251721 * @property {Array.<Object> } layers - 地图上所有的图层对象
17261722 */
17271723 this . fire ( 'addlayerssucceeded' , { map : this . map , mapparams : this . mapParams , layers : this . layers } ) ;
0 commit comments