中国疫情地图和全球疫情地图组件,一句话调用 - 果核剥壳


本疫情地图,实时爬取互联网疫情数据,展示中国疫情地图和世界疫情地图,允许各大网站调用数据。

首先,分析文章发布在微信公众号了:https://mp.weixin.qq.com/s/JBUIPh6sndBpLmtN5eaETw

这不讲怎么制作了,可以看上面的链接,下面直接讲怎么WordPress调用。

使用教程

WordPress博客,可以直接添加小工具

调用方法很简单,找到WordPress后台小工具,添加自定义html内容,填入如下代码

<iframe src="https://www.lovestu.com/api/project/cnmapyinqing/obj.php" height="500" frameborder="no" border="0" width="100%"> </iframe>

保存即可在前台查看到地图。其他操作无需我们修改,每天自动实时更新。

可选get参数

    • htmlh:网页高度,默认为500
    • htmlw:网页最大宽度,默认800
    • maph:地图高度,默认400,一般来说使用本参数就行了,大页面可以适当调大本参数

修改后调用地址例如:https://www.lovestu.com/api/project/cnmapyinqing/obj.php?maph=600

对于大页面,可以自行修改iframe的宽度,然后设置get地图宽度即可,

中国疫情地图和全球疫情地图组件,一句话调用

更新日志

2020.2 更新

地图界面

添加详细信息:确诊人数,疑似人数,治愈人数,死亡人数

2020.3.17更新

新增全球地图,可以在选项卡切换

调用方式

如果您喜欢本站,点击这儿不花一分钱捐赠本站

这些信息可能会帮助到你: 下载帮助 | 报毒说明 | 进站必看

修改版本安卓软件,加群提示为修改者自留,非本站信息,注意鉴别

(227)
上一篇 2020年3月15日 上午12:10
下一篇 2020年3月19日 下午2:35

相关推荐

回复 AngelontheRoad

评论问题之前,点击我,能帮你解决大部分问题

您的电子邮箱地址不会被公开。 必填项已用*标注

评论列表(54条)

  • olda
    olda 2020年4月9日 下午1:23
    Google Chrome 76.0.3809.132 Google Chrome 76.0.3809.132 Windows 10 x64 Edition Windows 10 x64 Edition

    疫情状态好像没有实时更新啊,对比抖音抗击肺炎的信息

    • applek
      年费VIP果核剥壳 2020年4月9日 下午2:25
      WebView 4.0 WebView 4.0 Android 10 Android 10

      一小时更新一次的

  • Web_13234
    Web_13234 2020年4月6日 上午11:34
    Google Chrome 80.0.3987.163 Google Chrome 80.0.3987.163 Windows 10 x64 Edition Windows 10 x64 Edition

    没有人比我更懂疫情

  • fabcer
    fabcer 2020年3月28日 下午9:34
    Google Chrome 78.0.3904.108 Google Chrome 78.0.3904.108 Windows 10 x64 Edition Windows 10 x64 Edition

    朝鲜最安全?

  • juon9015
    juon9015 2020年3月23日 下午9:55
    Google Chrome 78.0.3904.108 Google Chrome 78.0.3904.108 Windows 7 x64 Edition Windows 7 x64 Edition

    英国没有吗?

  • GSTXavier
    GSTXavier 2020年3月19日 下午2:35
    Microsoft Edge 80.0.361.66 Microsoft Edge 80.0.361.66 Windows 10 x64 Edition Windows 10 x64 Edition

    果核,你这全球的颜色不太对吧...

  • 7086cmd
    7086cmd 2020年3月17日 下午3:46
    Microsoft Edge 80.0.361.66 Microsoft Edge 80.0.361.66 Windows 10 x64 Edition Windows 10 x64 Edition

    全球==国外?

  • 木子洋博客
    木子洋博客 2020年3月17日 下午3:19
    Sogou Explorer Sogou Explorer Windows 10 x64 Edition Windows 10 x64 Edition

    刷新了也没用,搜狗和谷歌浏览器都不显示

    • applek
      年费VIP果核剥壳 2020年3月17日 下午3:46
      Google Chrome 78.0.3904.116 Google Chrome 78.0.3904.116 Windows 10 x64 Edition Windows 10 x64 Edition

      已解决,请刷新重试

  • 木子洋博客
    木子洋博客 2020年3月17日 下午3:19
    Sogou Explorer Sogou Explorer Windows 10 x64 Edition Windows 10 x64 Edition

    现在不显示地图了,咋回事

  • Good Luck
    Good Luck 2020年3月17日 下午3:01
    Google Chrome 80.0.3987.132 Google Chrome 80.0.3987.132 Windows 10 x64 Edition Windows 10 x64 Edition

    好像不能用了,只能获取到数字,地图没法获取了

  • jason
    jason 2020年3月17日 下午2:30
    Microsoft Edge 80.0.361.66 Microsoft Edge 80.0.361.66 Mac OS X  10.15.3 Mac OS X 10.15.3

    地图好像挂掉了。。。

  • 小坤
    小坤 2020年2月28日 下午4:02
    Google Chrome 80.0.3987.122 Google Chrome 80.0.3987.122 Windows 10 x64 Edition Windows 10 x64 Edition

    显示了 就是有点小

  • 片布
    片布 2020年2月25日 下午2:35
    Google Chrome 80.0.3987.122 Google Chrome 80.0.3987.122 Windows 10 x64 Edition Windows 10 x64 Edition

    用了,爱了,确实不错。

  • aaa
    aaa 2020年2月21日 上午11:10
    Google Chrome 79.0.3945.130 Google Chrome 79.0.3945.130 Windows 10 x64 Edition Windows 10 x64 Edition

    不能显示地图啊 edge和谷歌都不行

    • applek
      年费VIP果核剥壳 2020年2月21日 下午12:32
      Google Chrome 78.0.3904.116 Google Chrome 78.0.3904.116 Windows 10 x64 Edition Windows 10 x64 Edition

      刷新一次就行了

  • abudu
    abudu 2020年2月8日 下午12:01
    Google Chrome 80.0.3987.87 Google Chrome 80.0.3987.87 Windows 10 x64 Edition Windows 10 x64 Edition

    果核,你用的什么WP主题啊,还有那个前端登录/注册怎么做的

    • pipixia
      pipixia 2020年5月6日 上午8:26
      Google Chrome 80.0.3987.132 Google Chrome 80.0.3987.132 Windows 10 x64 Edition Windows 10 x64 Edition

      看他的网站一直都在改,恐怕是他自己做的主题

  • 911741
    911741 2020年2月8日 上午9:11
    Microsoft Edge 80.0.361.48 Microsoft Edge 80.0.361.48 Windows 10 x64 Edition Windows 10 x64 Edition

    确实新版edge上面不显示地图

    • applek
      年费VIP果核剥壳 2020年2月8日 上午9:21
      Google Chrome 78.0.3904.116 Google Chrome 78.0.3904.116 Windows 10 x64 Edition Windows 10 x64 Edition

      我测试微软测试版:80.0.361.48,正式版79.0.309.71 都能显示

    • 911741
      911741 2020年2月8日 下午10:30
      Microsoft Edge 80.0.361.48 Microsoft Edge 80.0.361.48 Windows 10 x64 Edition Windows 10 x64 Edition

      现在显示了

  • 天亮
    天亮 2020年2月6日 下午9:44
    Firefox 72.0 Firefox 72.0 Windows 10 x64 Edition Windows 10 x64 Edition

    在自己的网站上测试一下非常的好,www.applecx.com ,但是发现微软新版Edge浏览器不显示。

  • abudu
    abudu 2020年2月6日 下午12:38
    Google Chrome 69.0.3497.100 Google Chrome 69.0.3497.100 Windows 10 x64 Edition Windows 10 x64 Edition

    果核,请问ejs支持吗

  • lostlosin
    lostlosin 2020年2月5日 下午7:28
    WebView 4.0 WebView 4.0 Android 10 Android 10

    今天微信公众号的文章:2020新型冠状病毒防治统一考试(全国卷),小编出错了,正确答案上都有一条绿线,错误的答案上都是红线…

    • applek
      年费VIP果核剥壳 2020年2月5日 下午9:11
      Google Chrome 78.0.3904.116 Google Chrome 78.0.3904.116 Windows 10 x64 Edition Windows 10 x64 Edition

      这个,部分浏览器不兼容应该

  • 笙汐
    笙汐 2020年1月29日 下午6:17
    Google Chrome 79.0.3945.130 Google Chrome 79.0.3945.130 Windows 10 x64 Edition Windows 10 x64 Edition

    试了下不错

  • AngelontheRoad
    AngelontheRoad 2020年1月29日 上午11:05
    Google Chrome 79.0.3945.130 Google Chrome 79.0.3945.130 Windows 10 x64 Edition Windows 10 x64 Edition

    厉害!