亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? eventpane.js

?? 用來在地圖上做操作GIS,在地圖上做標記
?? JS
字號:
/* Copyright (c) 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.js * @requires OpenLayers/Util.js *  * Class: OpenLayers.Layer.EventPane * Base class for 3rd party layers.  Create a new event pane layer with the * <OpenLayers.Layer.EventPane> constructor. *  * Inherits from: *  - <OpenLayers.Layer> */OpenLayers.Layer.EventPane = OpenLayers.Class(OpenLayers.Layer, {    /**     * Property: isBaseLayer     * {Boolean} EventPaned layers are always base layers, by necessity.     */     isBaseLayer: true,    /**     * APIProperty: isFixed     * {Boolean} EventPaned layers are fixed by default.     */     isFixed: true,    /**     * Property: pane     * {DOMElement} A reference to the element that controls the events.     */    pane: null,    /**     * Property: mapObject     * {Object} This is the object which will be used to load the 3rd party library     * in the case of the google layer, this will be of type GMap,      * in the case of the ve layer, this will be of type VEMap     */     mapObject: null,    /**     * Constructor: OpenLayers.Layer.EventPane     * Create a new event pane layer     *     * Parameters:     * name - {String}     * options - {Object} Hashtable of extra options to tag onto the layer     */    initialize: function(name, options) {        OpenLayers.Layer.prototype.initialize.apply(this, arguments);        if (this.pane == null) {            this.pane = OpenLayers.Util.createDiv(this.div.id + "_EventPane");        }    },        /**     * APIMethod: destroy     * Deconstruct this layer.     */    destroy: function() {        this.mapObject = null;        OpenLayers.Layer.prototype.destroy.apply(this, arguments);     },        /**     * Method: setMap     * Set the map property for the layer. This is done through an accessor     * so that subclasses can override this and take special action once      * they have their map variable set.      *     * Parameters:     * map - {<OpenLayers.Map>}     */    setMap: function(map) {        OpenLayers.Layer.prototype.setMap.apply(this, arguments);                this.pane.style.zIndex = parseInt(this.div.style.zIndex) + 1;        this.pane.style.display = this.div.style.display;        this.pane.style.width="100%";        this.pane.style.height="100%";        if (OpenLayers.Util.getBrowserName() == "msie") {            this.pane.style.background =                 "url(" + OpenLayers.Util.getImagesLocation() + "blank.gif)";        }        if (this.isFixed) {            this.map.viewPortDiv.appendChild(this.pane);        } else {            this.map.layerContainerDiv.appendChild(this.pane);        }        // once our layer has been added to the map, we can load it        this.loadMapObject();            // if map didn't load, display warning        if (this.mapObject == null) {            this.loadWarningMessage();        }    },    /**     * APIMethod: removeMap     * On being removed from the map, we'll like to remove the invisible 'pane'     *     div that we added to it on creation.      *      * Parameters:     * map - {<OpenLayers.Map>}     */    removeMap: function(map) {        if (this.pane && this.pane.parentNode) {            this.pane.parentNode.removeChild(this.pane);            this.pane = null;        }        OpenLayers.Layer.prototype.removeMap.apply(this, arguments);    },      /**     * Method: loadWarningMessage     * If we can't load the map lib, then display an error message to the      *     user and tell them where to go for help.     *      *     This function sets up the layout for the warning message. Each 3rd     *     party layer must implement its own getWarningHTML() function to      *     provide the actual warning message.     */    loadWarningMessage:function() {        this.div.style.backgroundColor = "darkblue";        var viewSize = this.map.getSize();                msgW = Math.min(viewSize.w, 300);        msgH = Math.min(viewSize.h, 200);        var size = new OpenLayers.Size(msgW, msgH);        var centerPx = new OpenLayers.Pixel(viewSize.w/2, viewSize.h/2);        var topLeft = centerPx.add(-size.w/2, -size.h/2);                    var div = OpenLayers.Util.createDiv(this.name + "_warning",                                             topLeft,                                             size,                                            null,                                            null,                                            null,                                            "auto");        div.style.padding = "7px";        div.style.backgroundColor = "yellow";        div.innerHTML = this.getWarningHTML();        this.div.appendChild(div);    },      /**      * Method: getWarningHTML     * To be implemented by subclasses.     *      * Returns:     * {String} String with information on why layer is broken, how to get     *          it working.     */    getWarningHTML:function() {        //should be implemented by subclasses        return "";    },      /**     * Method: display     * Set the display on the pane     *     * Parameters:     * display - {Boolean}     */    display: function(display) {        OpenLayers.Layer.prototype.display.apply(this, arguments);        this.pane.style.display = this.div.style.display;    },      /**     * Method: setZIndex     * Set the z-index order for the pane.     *      * Parameters:     * zIndex - {int}     */    setZIndex: function (zIndex) {        OpenLayers.Layer.prototype.setZIndex.apply(this, arguments);        this.pane.style.zIndex = parseInt(this.div.style.zIndex) + 1;    },    /**     * Method: moveTo     * Handle calls to move the layer.     *      * Parameters:     * bounds - {<OpenLayers.Bounds>}     * zoomChanged - {Boolean}     * dragging - {Boolean}     */    moveTo:function(bounds, zoomChanged, dragging) {        OpenLayers.Layer.prototype.moveTo.apply(this, arguments);        if (this.mapObject != null) {            var newCenter = this.map.getCenter();            var newZoom = this.map.getZoom();            if (newCenter != null) {                var moOldCenter = this.getMapObjectCenter();                var oldCenter = this.getOLLonLatFromMapObjectLonLat(moOldCenter);                var moOldZoom = this.getMapObjectZoom();                var oldZoom= this.getOLZoomFromMapObjectZoom(moOldZoom);                if ( !(newCenter.equals(oldCenter)) ||                      !(newZoom == oldZoom) ) {                    var center = this.getMapObjectLonLatFromOLLonLat(newCenter);                    var zoom = this.getMapObjectZoomFromOLZoom(newZoom);                    this.setMapObjectCenter(center, zoom);                }            }        }    },  /********************************************************/  /*                                                      */  /*                 Baselayer Functions                  */  /*                                                      */  /********************************************************/    /**     * Method: getLonLatFromViewPortPx     * Get a map location from a pixel location     *      * Parameters:     * viewPortPx - {<OpenLayers.Pixel>}     *     * Returns:     *  {<OpenLayers.LonLat>} An OpenLayers.LonLat which is the passed-in view     *  port OpenLayers.Pixel, translated into lon/lat by map lib     *  If the map lib is not loaded or not centered, returns null     */    getLonLatFromViewPortPx: function (viewPortPx) {        var lonlat = null;        if ( (this.mapObject != null) &&              (this.getMapObjectCenter() != null) ) {            var moPixel = this.getMapObjectPixelFromOLPixel(viewPortPx);            var moLonLat = this.getMapObjectLonLatFromMapObjectPixel(moPixel)            lonlat = this.getOLLonLatFromMapObjectLonLat(moLonLat);        }        return lonlat;    },     /**     * Method: getViewPortPxFromLonLat     * Get a pixel location from a map location     *     * Parameters:     * lonlat - {<OpenLayers.LonLat>}     *     * Returns:     * {<OpenLayers.Pixel>} An OpenLayers.Pixel which is the passed-in     * OpenLayers.LonLat, translated into view port pixels by map lib     * If map lib is not loaded or not centered, returns null     */    getViewPortPxFromLonLat: function (lonlat) {        var viewPortPx = null;        if ( (this.mapObject != null) &&              (this.getMapObjectCenter() != null) ) {            var moLonLat = this.getMapObjectLonLatFromOLLonLat(lonlat);            var moPixel = this.getMapObjectPixelFromMapObjectLonLat(moLonLat)                    viewPortPx = this.getOLPixelFromMapObjectPixel(moPixel);        }        return viewPortPx;    },  /********************************************************/  /*                                                      */  /*               Translation Functions                  */  /*                                                      */  /*   The following functions translate Map Object and   */  /*            OL formats for Pixel, LonLat              */  /*                                                      */  /********************************************************/  //  // TRANSLATION: MapObject LatLng <-> OpenLayers.LonLat  //    /**     * Method: getOLLonLatFromMapObjectLonLat     * Get an OL style map location from a 3rd party style map location     *     * Parameters     * moLonLat - {Object}     *      * Returns:     * {<OpenLayers.LonLat>} An OpenLayers.LonLat, translated from the passed in      *          MapObject LonLat     *          Returns null if null value is passed in     */    getOLLonLatFromMapObjectLonLat: function(moLonLat) {        var olLonLat = null;        if (moLonLat != null) {            var lon = this.getLongitudeFromMapObjectLonLat(moLonLat);            var lat = this.getLatitudeFromMapObjectLonLat(moLonLat);            olLonLat = new OpenLayers.LonLat(lon, lat);        }        return olLonLat;    },    /**     * Method: getMapObjectLonLatFromOLLonLat     * Get a 3rd party map location from an OL map location.     *     * Parameters:     * olLonLat - {<OpenLayers.LonLat>}     *      * Returns:     * {Object} A MapObject LonLat, translated from the passed in      *          OpenLayers.LonLat     *          Returns null if null value is passed in     */    getMapObjectLonLatFromOLLonLat: function(olLonLat) {        var moLatLng = null;        if (olLonLat != null) {            moLatLng = this.getMapObjectLonLatFromLonLat(olLonLat.lon,                                                         olLonLat.lat);        }        return moLatLng;    },  //  // TRANSLATION: MapObject Pixel <-> OpenLayers.Pixel  //    /**     * Method: getOLPixelFromMapObjectPixel     * Get an OL pixel location from a 3rd party pixel location.     *     * Parameters:     * moPixel - {Object}     *      * Returns:     * {<OpenLayers.Pixel>} An OpenLayers.Pixel, translated from the passed in      *          MapObject Pixel     *          Returns null if null value is passed in     */    getOLPixelFromMapObjectPixel: function(moPixel) {        var olPixel = null;        if (moPixel != null) {            var x = this.getXFromMapObjectPixel(moPixel);            var y = this.getYFromMapObjectPixel(moPixel);            olPixel = new OpenLayers.Pixel(x, y);        }        return olPixel;    },    /**     * Method: getMapObjectPixelFromOLPixel     * Get a 3rd party pixel location from an OL pixel location     *     * Parameters:     * olPixel - {<OpenLayers.Pixel>}     *      * Returns:     * {Object} A MapObject Pixel, translated from the passed in      *          OpenLayers.Pixel     *          Returns null if null value is passed in     */    getMapObjectPixelFromOLPixel: function(olPixel) {        var moPixel = null;        if (olPixel != null) {            moPixel = this.getMapObjectPixelFromXY(olPixel.x, olPixel.y);        }        return moPixel;    },    CLASS_NAME: "OpenLayers.Layer.EventPane"});

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一级电影视频| 成人av一区二区三区| 亚洲一二三区不卡| 亚洲人成在线观看一区二区| 欧美国产一区在线| 久久久不卡网国产精品一区| 欧美一级欧美三级在线观看| 欧美精品久久久久久久久老牛影院| 欧美三电影在线| 91麻豆精品91久久久久同性| 欧美精品成人一区二区三区四区| 在线播放欧美女士性生活| 欧美一区三区四区| 精品国产一区二区三区av性色 | 在线免费观看日本一区| av电影在线不卡| 色综合 综合色| 欧美巨大另类极品videosbest| 337p亚洲精品色噜噜狠狠| 日韩情涩欧美日韩视频| 久久综合丝袜日本网| 中文字幕欧美激情| 一区二区三区在线看| 五月天激情小说综合| 久久国产麻豆精品| 成人综合在线观看| 色哟哟国产精品免费观看| 欧美日韩不卡一区| 欧美va亚洲va| 国产精品麻豆久久久| 亚洲伊人色欲综合网| 蜜乳av一区二区| 在线播放欧美女士性生活| 日韩一区二区在线看片| 欧美国产精品中文字幕| 有坂深雪av一区二区精品| 日韩av网站免费在线| 国产成人精品亚洲777人妖| 91久久精品午夜一区二区| 91精品免费观看| 国产欧美日韩三区| 午夜精彩视频在线观看不卡| 国产一区二区在线观看免费| 色综合久久久久久久久| 日韩午夜在线观看| 国产精品美日韩| 日日噜噜夜夜狠狠视频欧美人 | 欧美一区二区在线免费播放| 久久精品视频在线免费观看| 自拍偷在线精品自拍偷无码专区| 日本成人中文字幕在线视频| 成人黄色软件下载| 日韩精品一区二区三区老鸭窝| 欧美激情一区二区三区全黄| 日本亚洲最大的色成网站www| 国产91色综合久久免费分享| 777亚洲妇女| 亚洲美女屁股眼交| 韩日av一区二区| 欧美片在线播放| 中文字幕日韩精品一区| 久久97超碰色| 欧美午夜一区二区| 国产精品福利一区| 极品尤物av久久免费看| 欧美视频在线一区| 欧美国产亚洲另类动漫| 老司机免费视频一区二区 | 亚洲卡通动漫在线| 国产精品一区一区三区| 69堂国产成人免费视频| 亚洲另类中文字| 成人免费的视频| 午夜欧美大尺度福利影院在线看| 国产suv一区二区三区88区| 制服丝袜亚洲网站| 亚洲综合一区二区三区| 99久久久国产精品免费蜜臀| 久久久国产午夜精品| 蜜臀va亚洲va欧美va天堂| 在线免费亚洲电影| 亚洲视频一区在线| 成人免费黄色在线| 久久久久久99久久久精品网站| 奇米777欧美一区二区| 欧美无乱码久久久免费午夜一区| 中文字幕亚洲视频| 成人h精品动漫一区二区三区| 久久亚洲综合色| 麻豆精品在线视频| 欧美zozozo| 久久电影网电视剧免费观看| 在线播放一区二区三区| 亚洲成av人片www| 欧美又粗又大又爽| 亚洲精品日日夜夜| 91女神在线视频| 亚洲女同女同女同女同女同69| jlzzjlzz欧美大全| 亚洲免费色视频| 一本到高清视频免费精品| 亚洲免费观看高清| 色激情天天射综合网| 亚洲一区二区欧美日韩| 欧美亚洲免费在线一区| 亚洲成年人影院| 91精品国产麻豆国产自产在线| 亚洲777理论| 欧美成人伊人久久综合网| 激情综合一区二区三区| 久久这里只有精品6| 国产剧情一区在线| 国产精品视频一区二区三区不卡| 成人开心网精品视频| 中文字幕在线观看不卡| 色综合视频一区二区三区高清| 亚洲美女少妇撒尿| 欧美日本一区二区| 黄色资源网久久资源365| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲人成精品久久久久久| 色婷婷国产精品| 日韩va欧美va亚洲va久久| 欧美成人女星排行榜| 国产91清纯白嫩初高中在线观看| 国产精品入口麻豆九色| 色婷婷综合久久久久中文一区二区| 亚洲一区在线免费观看| 日韩欧美高清一区| 丁香婷婷综合色啪| 亚洲综合一区二区精品导航| 日韩一区二区三免费高清| 国产精品综合二区| 樱桃视频在线观看一区| 日韩精品中文字幕在线一区| 国产麻豆精品theporn| 亚洲欧美国产77777| 欧美高清视频一二三区 | 日本强好片久久久久久aaa| 26uuu国产日韩综合| av成人免费在线| 石原莉奈在线亚洲三区| 国产视频一区在线观看| 色诱亚洲精品久久久久久| 麻豆91免费看| 亚洲婷婷国产精品电影人久久| 欧美日韩免费一区二区三区 | 国产欧美1区2区3区| 色八戒一区二区三区| 久久成人免费网站| 亚洲免费视频中文字幕| 日韩精品一区二区三区蜜臀| 91丨九色丨国产丨porny| 蜜乳av一区二区| 亚洲欧美激情视频在线观看一区二区三区| 欧美精品日日鲁夜夜添| 国产精品18久久久久久久久久久久| 一区二区高清视频在线观看| 精品捆绑美女sm三区| 在线亚洲人成电影网站色www| 久久99国产精品麻豆| 亚洲一区二区在线观看视频| 久久久精品日韩欧美| 欧美老肥妇做.爰bbww| youjizz久久| 国产在线日韩欧美| 视频一区国产视频| 亚洲精品日日夜夜| 中文字幕不卡一区| 精品国产制服丝袜高跟| 欧美日韩三级一区| 99国产精品久久久久| 国产精品亚洲第一| 日韩精品乱码免费| 一区二区三区四区中文字幕| 国产日韩欧美在线一区| 日韩欧美成人午夜| 欧美久久高跟鞋激| 在线免费观看日本一区| 92国产精品观看| 国产aⅴ精品一区二区三区色成熟| 裸体健美xxxx欧美裸体表演| 亚洲福利一区二区| 亚洲精品久久久蜜桃| 中文字幕一区二区三区在线不卡| 久久久久久久综合日本| 日韩欧美一区二区三区在线| 欧美伦理影视网| 欧美日韩精品电影| 色婷婷亚洲精品| 99综合电影在线视频| 国产成人av一区二区三区在线| 精品一区二区在线视频| 日韩电影在线观看电影| 丝瓜av网站精品一区二区| 亚洲成年人网站在线观看| 亚洲午夜精品久久久久久久久| 亚洲男女毛片无遮挡| 亚洲视频狠狠干| 国产精品成人午夜|