• 大小: 2.04MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-04
  • 语言: JavaScript
  • 标签: gis  javascript  

资源简介

一个非常好的开源GIS javascript框架

资源截图

代码片段和文件信息

#!/usr/bin/env python

import sys
sys.path.append(“../tools“)

import jsmin mergejs

sourceDirectory = “../lib“
configFilename = “library.cfg“
outputFilename = “Openlayers.js“

if len(sys.argv) > 1:
    configFilename = sys.argv[1]
    extension = configFilename[-4:]

    if extension  != “.cfg“:
        configFilename = sys.argv[1] + “.cfg“

if len(sys.argv) > 2:
    outputFilename = sys.argv[2]

print “Merging libraries.“
merged = mergejs.run(sourceDirectory None configFilename)
print “Compressing.“
minimized = jsmin.jsmin(merged)
print “Adding license file.“
minimized = file(“license.txt“).read() + minimized

print “Writing to %s.“ % outputFilename
file(outputFilename “w“).write(minimized)

print “Done.“

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      11082  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Data\ClassHierarchy.nd

     文件         23  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Data\ConfigFileInfo.nd

     文件      12104  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Data\FileInfo.nd

     文件       8709  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Data\PreviousMenuState.nd

     文件         99  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Data\PreviousSettings.nd

     文件     192962  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Data\SymbolTable.nd

     目录          0  2008-04-07 14:07  Openlayers-2.5\apidoc_config\Data

     文件       4929  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Languages.txt

     文件       9227  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Menu.txt

     文件        246  2007-06-29 11:59  Openlayers-2.5\apidoc_config\OL.css

     文件       3426  2007-10-09 13:47  Openlayers-2.5\apidoc_config\Topics.txt

     目录          0  2008-04-07 14:07  Openlayers-2.5\apidoc_config

     文件       6498  2006-09-09 11:46  Openlayers-2.5\art\arrows.svg

     文件       6290  2006-09-09 11:46  Openlayers-2.5\art\layer-switcher-maximize.svg

     文件       6800  2006-09-09 11:46  Openlayers-2.5\art\layer-switcher-minimize.svg

     文件       1414  2006-05-26 11:33  Openlayers-2.5\art\marker.svg

     文件       2370  2006-09-09 11:46  Openlayers-2.5\art\measuring-stick-off.svg

     文件       2369  2006-09-09 11:46  Openlayers-2.5\art\measuring-stick-on.svg

     文件       3407  2006-09-09 11:46  Openlayers-2.5\art\panning-hand-off.svg

     文件       3404  2006-09-09 11:46  Openlayers-2.5\art\panning-hand-on.svg

     文件       2425  2006-09-09 11:46  Openlayers-2.5\art\slider.svg

     文件      10235  2006-09-09 11:46  Openlayers-2.5\art\zoom-world.svg

     文件       2681  2006-09-09 11:46  Openlayers-2.5\art\zoombar.svg

     目录          0  2008-04-07 14:07  Openlayers-2.5\art

     文件        721  2007-08-29 00:11  Openlayers-2.5\build\build.py

     文件        555  2007-04-02 12:46  Openlayers-2.5\build\buildUncompressed.py

     文件        204  2007-07-05 16:50  Openlayers-2.5\build\full.cfg

     文件       1172  2007-07-05 16:50  Openlayers-2.5\build\library.cfg

     文件       1472  2007-10-09 13:45  Openlayers-2.5\build\license.txt

     文件        405  2007-07-05 16:50  Openlayers-2.5\build\lite.cfg

............此处省略761个文件信息

评论

共有 条评论