⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 untiled.js

📁 用来在地图上做操作GIS,在地图上做标记
💻 JS
字号:
/* Copyright 2006-2007 MetaCarta, Inc., published under the BSD license. * See http://svn.openlayers.org/trunk/openlayers/release-license.txt  * for the full text of the license. */ /** * @requires OpenLayers/Layer/MapServer.js * * Class: OpenLayers.Layer.MapServer.Untiled * Deprecated, to be removed in 3.0 - instead use OpenLayers.Layer.MapServer and  *     pass the option 'singleTile' as true. *  * Inherits from:  *  - <OpenLayers.Layer.MapServer> */OpenLayers.Layer.MapServer.Untiled = OpenLayers.Class(OpenLayers.Layer.MapServer, {    /**     * APIProperty: singleTile     * {singleTile} Always true for untiled.     */    singleTile: true,    /**     * Constructor: OpenLayers.Layer.MapServer.Untiled     *     * Parameters:     * name - {String}      * url - {String}      * params - {Object}      * options - {Object}      */    initialize: function(name, url, params, options) {        OpenLayers.Layer.MapServer.prototype.initialize.apply(this, arguments);                var msg = "The OpenLayers.Layer.MapServer.Untiled class is deprecated and " +                  "will be removed in 3.0. Instead, you should use the " +                  "normal OpenLayers.Layer.MapServer class, passing it the option " +                  "'singleTile' as true.";        OpenLayers.Console.warn(msg);    },        /**     * Method: clone     * Create a clone of this layer     *     * Returns:     * {<OpenLayers.Layer.MapServer.Untiled>} An exact clone of this layer     */    clone: function (obj) {                if (obj == null) {            obj = new OpenLayers.Layer.MapServer.Untiled(this.name,                                                         this.url,                                                         this.params,                                                         this.options);        }        //get all additions from superclasses        obj = OpenLayers.Layer.MapServer.prototype.clone.apply(this, [obj]);        // copy/set any non-init, non-simple values here        return obj;    },     CLASS_NAME: "OpenLayers.Layer.MapServer.Untiled"});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -