![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GIS
程序猿小郑
从事Java开发、前端开发、软件实施,GIS行业应用。
展开
-
基于Vue + TypeScript + @supermap/iclient-ol 方式对iServer进行数据查询
基于Vue + TypeScript + @supermap/iclient-ol 方式对iServer进行数据查询引入npm install --save--dev "@supermap/iclient-ol"@^10.1.3代码示例// 按需引入import { SuperMap, FeatureService } from '@supermap/iclient-ol';@Component({ components: {} })export default class Analysi原创 2021-08-30 01:22:07 · 1002 阅读 · 2 评论 -
iClient for Leaflet 空间查询,圆形空间查询
代码片段如下:function query(_center, _radius) { var point_new = L.CRS.EPSG3857.project(_center); var dx = point_new.x, dy = point_new.y; var radius = _radius; //点集 var parts = []; //计算圆的边缘所有点 for (var i = 0; i < 360; i++) {原创 2020-07-10 20:50:56 · 1142 阅读 · 0 评论 -
leaflet加载谷歌影像地图、天地图影像地图、天地图影像注记
加载天地图、谷歌地图代码如下: // 天地图墨卡托 //底图 const image = L.tileLayer('http://t{s}.tianditu.gov.cn/img_w/wmts?tk=密钥&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&am...原创 2020-03-11 19:03:07 · 5246 阅读 · 0 评论