* @function MapService.prototype.getWKT * @description 获取WKT。 * @param {RequestCallback} [callback] - 回调函数,该参数未传时可通过返回的 promise 获取结果。 * @returns {Promise} Promise 对象。
(callback)
| 57 | * @returns {Promise} Promise 对象。 |
| 58 | */ |
| 59 | getWKT(callback) { |
| 60 | var me = this; |
| 61 | var getMapStatusService = new CommonMapService(Util.urlPathAppend(me.url,'prjCoordSys.wkt'), { |
| 62 | proxy: me.options.proxy, |
| 63 | withCredentials: me.options.withCredentials, |
| 64 | withoutFormatSuffix: true, |
| 65 | crossOrigin: me.options.crossOrigin, |
| 66 | headers: me.options.headers, |
| 67 | projection: me.options.projection |
| 68 | }); |
| 69 | return getMapStatusService.processAsync(callback); |
| 70 | } |
| 71 | |
| 72 | /** |
| 73 | * @function MapService.prototype.getTilesets |
no test coverage detected