简体   繁体   English

如何下载Mapstraction v2的JavaScript库?

[英]How do I download the javascript library for mapstraction v2?

I am setting up a map on a drupal website using the mapstraction module. 我正在使用mapstraction模块在drupal网站上设置地图。 I am planning to use the 6.x-2.x-dev development branch of mapstraction because I need some of its additional functionality. 我计划使用mapstraction的6.x-2.x-dev开发分支,因为我需要一些其附加功​​能。

In the instructions for installing the module, it says to download the mapstraction v2 library from mapstraction.com Navigating through their site, I found this page: code.google.com/p/mapstraction/source/checkout which tells you: 在安装模块的说明中,它说要从mapstraction.com下载mapstraction v2库。在浏览其网站时,我找到了以下页面:code.google.com/p/mapstraction/source/checkout,该页面告诉您:

Command-line access 命令行访问

Use this command to anonymously check out the latest project source code: 使用此命令匿名签出最新的项目源代码:

'# Non-members may check out a read-only working copy anonymously over HTTP. '#非成员可以通过HTTP匿名签出只读工作副本。

svn checkout http://mapstraction.googlecode.com/svn/trunk/ mapstraction-read-only svn结帐http://mapstraction.googlecode.com/svn/trunk/ mapstraction-read-only

I don't understand what command-line access is? 我不知道什么是命令行访问? I've tried pasting mapstraction.googlecode.com/svn/trunk/ into my browser, and I get a whole directory listing. 我尝试将mapstraction.googlecode.com/svn/trunk/粘贴到浏览器中,然后得到了完整的目录清单。 Do I download each of these files? 我是否要下载每个文件? How do I know what is actually the mapstraction v2 library? 我怎么知道什么是mapstraction v2库? Am I going about accessing the javascript library in the wrong way? 我会以错误的方式访问javascript库吗?

They moved to git hub. 他们搬到了git hub。 You can now just download the zip file from here without a client installed https://github.com/mapstraction/mxn/downloads 现在,您无需安装客户端即可直接从此处下载zip文件https://github.com/mapstraction/mxn/downloads

What you need is a Subversion Client . 您需要的是Subversion客户端 The Apache project maintains a list where you should be able to find a client for your operating system. Apache项目维护一个列表 ,您应该可以在其中找到操作系统的客户端。 Once you have a client, you will have to perform the "Checkout" function on the url provided by Google Code. 拥有客户后,您将必须对Google Code提供的网址执行“签出”功能。 Once you have the directory downloaded by the SVN client, you can look at the examples for proper usage and file inclusion. SVN客户端下载目录后,您可以查看示例以了解正确用法和包含文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM