- 博客(5)
- 收藏
- 关注
原创 mapbox常用方法记载
1.初始化地图 this.map = new this.$mapboxgl.Map({ container: ‘map’, style: this.mapStyles[0],  
2021-10-13 16:22:33 467
原创 vue+ol6添加除湖北省外遮罩
/** * @description 加载湖北省外部遮罩 / initVectorAll() { //获取湖北省features let features = new GeoJSON().readFeatures(mapData.hubeiallMapJson()); //获取几何形状 let converGeom = this.erase(features[0].getGeometry()); //生成feature let convertFt = new Feature({ geometry: conv
2020-12-23 16:13:04 200
原创 vscode 搭建react native问题记录
执行typings install dt~react --save -g typings install dt~react-native --save -g ,报错Unable to connect to “https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/6241f19520e3ab6e62dd3b6f8cc8e75b89469a80/react-native/index.d.ts” 解决方法:修改Host.
2020-11-23 16:38:33 151
原创 openlayers3基础点线面添加
// 单个点 var ces = new ol.source.Vector(); cesguan = new ol.Feature({ geometry: new ol.geom.Point([113.7538, 31.0008]), }); ces.addFeature(cesguan); cesLayer1 = new ol.layer.Vector({ source: ces, style: new ol.style.Style({ image: new ol.style.Icon({ // colo
2020-10-16 10:56:50 796
原创 npm报错记录
公司电脑出现了一次不管npm什么操作都会报 npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID npm ERR! request to https://registry.cnpmjs.org/npm failed, reason: Hostname/IP does not match certificate’s altnames: Host: registry.cnpmjs.org. i
2020-06-11 16:49:33 292
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人