基于HTML
+JavaScript
+css
的一个中国地震信息可视化PWA
软件
如果此软件侵犯了您的权益,请发Issue
或 联系我 [email protected]
将会尽快处理
Warning
并且只有安全的连接才能使用PWA
和Service worker
,才可以发送通知。
Important
此开源版本不提供ICL(中国地震预警网)和CEA(中国地震局预警)信息源
Tip
你可以自己在ceewn.js
里添加不提供的预警源(注释的有格式要求)
Note
改完之后记得把index.js
第1行的ohcil
从赋值为false
改成赋值为true
哦,直到版本的git
变成25
就说明可以了
- 设置-本地烈度触发阀值
- 多震适配
- 用 其他方式 画地震波,而不是用官方的
MultiCircle
,要贴合地球。 - 以上还是你们来写吧
Caution
因为腾讯地图的圆是标准的圆,并没有贴和地球,所以到了北边的地方没有畸变,不符合地震波传播的路径,因此地图上的地震波仅供参考,具体以右下角预警框的倒计时为准。
Warning
由于腾讯地图的圆不是贴和地球的圆,并且圆没有getCircleBounds()
,所以getWaveBounds()
是自行写的,因此地图越缩小视角的中心就越靠北。
Caution
腾讯地图的圆有最大半径限制。如果超过最大半径之后,那么控制台就会输出经纬度不在范围内。所以,如果 P波 到达了最大半径,那么它就会停在最大半径的地方静止不动。
请勿完全依赖此软件,由于依赖此软件造成的问题作者概不负责。 由于此软件造成的任何人力物力财力等损失与作者无关
本软件基于 GPL-v3 协议授权
China Quake 2 (CNQuake2)
Copyright (C) 2024 - 2025 HomoOS
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.