Aptana3 代码协助 Google 地图 API v3
我正在尝试在 Aptana3 中启用 Google Maps API v3 的代码辅助。 这似乎不起作用。
我按照此页面中的说明进行操作:
将 VSDoc 文件拖放到您的 Web 项目中。
V3 地图 API:gmapvsdoc.codeplex.com
按照指示,我从 Google Maps API 3 Visual Studio Intellisense Helper
我提取了 google-maps-3-vs-1-0.js 并google-maps-3-vs-1-0-vsdoc.js 位于我的项目(PHP 项目)的 scripts 文件夹中。
这就是我将 API 包含在 html 文件中的方式:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="scripts/google-maps-3-vs-1-0.js"></script>
API 工作正常。我可以访问它的所有功能。 然而,当我输入“地图”时。 (使用 var map = new google.maps.Map(...) 初始化变量后)Aptana 没有任何建议可以帮助我。
Aptana3 与 Google 地图 API v3 不兼容吗?
我做错了什么吗?
难道是因为我也在使用 JQuery Code Assist?
I'm trying to enable Code Assist for Google Maps API v3 in Aptana3.
It does not seem to work.
I followed the instructions from this page:
Drop the VSDoc files into your Web Project.
V3 Maps API: gmapvsdoc.codeplex.com
As instructed, I got the zip file from Google Maps API 3 Visual Studio Intellisense Helper
I extracted google-maps-3-vs-1-0.js and google-maps-3-vs-1-0-vsdoc.js in a scripts folder in my project (a PHP project).
This is how I included the API in my html file:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="scripts/google-maps-3-vs-1-0.js"></script>
The API works fine. I can access all its features.
Yet, when I type 'map.' (after initializing the variable with var map = new google.maps.Map(...)) Aptana has no proposals to assist me with.
Is Aptana3 not compatible with Google Maps API v3?
Have I done something wrong?
Could it be because I'm also using the JQuery Code Assist?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论