Comments (15)
应该可以了,你再试试,之前CI少发了一个包@cesium-extends/[email protected],手动补上就好了,抱歉
from cesium-extends.
我更新一下,似乎依赖错了
from cesium-extends.
@cesium-extends/[email protected]已经修复了呀,你有更新吗
from cesium-extends.
好的,感谢!!!测量面积和距离的label可以搞成自定义的吗?现在默认都是英文
from cesium-extends.
我改改
from cesium-extends.
@cesium-extends/[email protected]
已添加locale配置,在线文档中默认是中文的了,参考配置:
new Tool(viewer, {
units: 'kilometers',
locale: {
start: '起点',
area: '面积',
total: '总计',
formatLength: (length, unitedLength) => {
if (length < 1000) {
return length + '米';
}
return unitedLength + '千米';
},
formatArea: (area, unitedArea) => {
if (area < 1000000) {
return area + '平方米';
}
return unitedArea + '平方千米';
}
},
drawerOptions: {
tips: {
init: '点击绘制',
start: '左键添加点,右键移除点,双击结束绘制',
}
}
});
from cesium-extends.
npm install @cesium-extends/measure --save 1.1.0版本安装不上,安装都一直是1.0.3
from cesium-extends.
运行下面的命令
npm install @cesium-extends/measure@latest --save
如果还是没有更新到最新版,请检查你的npm代理镜像
from cesium-extends.
taobao和npm镜像我都试过了,一直是1.0.3
from cesium-extends.
npm上确实已经更新了,运行一下下面这条命令指定版本试试
npm install @cesium-extends/[email protected]
from cesium-extends.
只有这几个版本
from cesium-extends.
from cesium-extends.
很奇怪,1.1.0是一小时前发布的,应该早就已经同步了才是,检查你项目中有没有.npmrc文件配置了局部代理
from cesium-extends.
没有做项目局部代理的
from cesium-extends.
可以了,大佬太给了,期待你的新插件
from cesium-extends.
Related Issues (10)
- 测量给lableStyle添加heightReference报错 HOT 1
- 模型和地形同时存在取点 HOT 1
- 地形和模型同时开启时,只能在模型上绘制
- 【疑问】使用不贴地的面积测量接口时,返回的面积数值不连续 HOT 4
- 好用 HOT 1
- 只能使用自带的么, 有对外方法调用么 HOT 5
- 贴地面积量算为什么在屏幕空间采样? HOT 1
- 在加载热力图时异常是什么原因造成的呢? HOT 1
- 文档挂了 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cesium-extends.