谷歌地图api V3需要关键吗? [英] is google maps api V3 requires key?

查看:93
本文介绍了谷歌地图api V3需要关键吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 google maps api V2 中开发了一个网站,现在管理层说V2已被弃用并转换为V3。虽然使用谷歌搜索V3我没有看到任何API密钥?那么它是如何工作的?

I developed one website in google maps api V2, now management is saying V2 is deprecated and convert in to V3. While googling the V3 i didn't see any api key? then how it works?

http://maps.googleapis.com/maps/api/js?sensor=false





src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAAZIdFD1WVdDZkZtynpOarChQNeNa5CKtG0-vmTH0qjucdvCYnQxSdAQEaIYCVLr1JYZPtbiF0LjTojQ"

以及如何将V2转换为V3?我应该从头开始开发吗?

and how to convert from V2 to V3? should i develop it from scratch onwards?

推荐答案

Google maps api v3不需要像v2这样的密钥。我们鼓励您使用v3,因为它支持iphone和android等设备。

Google maps api v3 doesn't need a key like v2. You are encouraged to use v3 because of the support for devices like iphone and android.

Googe maps api v3已经使用已修改的MVC框架。

Googe maps api v3 has been implemented using modified MVC framework. .


例如,MVC对象(例如地图)的任何状态更改都是
,通过setter和getter特定的格式。同样,
所有MVC对象的状态都作为该对象的属性存储,
以及所有通过事件处理程序进行的状态更改观察也都是特定格式的

Any state changes of an MVC object (such as a map) for example, are handled through setters and getters of a particular format. As well, all state of the MVC objects are stored as properties of that object, and all observation of state changes through event handlers is of a particular format as well.

了解更多

这篇关于谷歌地图api V3需要关键吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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