Google Maps API:加载特定版本 [英] Google Maps API: Load specific version

查看:268
本文介绍了Google Maps API:加载特定版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试加载特定版本的Maps API时,可以说这一个: https://maps.googleapis.com/maps/api/js?v=3.28 并使用 console.log(google.maps.version)记录版本,我得到版本3.29.14b

When I try to load a specific version of the Maps API, lets say this one: https://maps.googleapis.com/maps/api/js?v=3.28 and log the version with console.log(google.maps.version), I get version 3.29.14b.

这是一个小提琴 https://jsfiddle.net/ 7xsxg4cv /

对我来说,更奇怪的是这个小提琴的行为 https://jsfiddle.net/c15sfj21/

Even stranger to me is the behaviour in this fiddle https://jsfiddle.net/c15sfj21/.

我可能做错了什么?

What am I possibly doing wrong?

推荐答案

a href =https://groups.google.com/forum/#!topic/google-maps-js-api-v3-notify/KlGOnEB4SMs =nofollow noreferrer> https://groups.google.com / forum /#!topic / google-maps-js-api-v3-notify / KlGOnEB4SMs

From: https://groups.google.com/forum/#!topic/google-maps-js-api-v3-notify/KlGOnEB4SMs


目前的实验性版本(3.30)是2017年11月21日 之后不久发布的新
版本。版本
将会是:

We will be making the current experimental version (3.30) the new release version on or shortly after November 21th, 2017. The versions will then be:

实验:3.31

版本:3.30

冷冻:3.29

3.28将被弃用如果您尝试请求它,则需要为现有版本提供服务。

3.28 will be deprecated and you will be served an existing version if you try to request it.



文档尚未更新。看起来最新的发布来源是这个论坛: https://groups.google.com/forum/#!forum/google-maps-js-api-v3-notify


这篇关于Google Maps API:加载特定版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆