【问题标题】:Possible to use alternate weather api with Google Maps v3?可以将备用天气 API 与 Google Maps v3 一起使用吗?
【发布时间】:2013-11-03 02:53:44
【问题描述】:

天气图层中的 Weather.com 数据是来自该地区的聚合温度,而不是直接的气象站数据。我工作的气象学家抱怨我们网站上的数据有多不准确。

我们已经在使用付费的 Weather Underground 帐户来获取其余天气数据,因此我想将 weather.com 图层替换为使用来自地下天气的数据的图层。

我不知道从哪里开始。当前天气图层的基本代码是否可用?或者有人有使用替代天气数据源的例子吗?

【问题讨论】:

  • Weather Underground API 似乎支持 JSON 响应:see here。它为您提供了一个纬度/经度,以及一堆数据 - 因此您可以基于此将其设为标记数组并将其显示在地图上。

标签: google-maps google-maps-api-3 layer weather wunderground


【解决方案1】:

带有温度的 WunderMap 图层将进入 API,然后您将能够使用其他 API 数据(如雷达和卫星)访问它。如果您有迫切需要,请通过 Support 与我们联系,我们可以将您与业务开发联系起来。 http://help.wunderground.com/

【讨论】:

    猜你喜欢
    • 2016-05-28
    • 1970-01-01
    • 1970-01-01
    • 2011-05-30
    • 2019-06-30
    • 2013-04-09
    • 1970-01-01
    • 2016-11-06
    • 1970-01-01
    相关资源
    最近更新 更多