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

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

?? popup.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. *//** * Class: OpenLayers.Popup * * A popup is a small div that can opened and closed on the map. * Typically opened in response to clicking on a marker.   * See <OpenLayers.Marker>.  Popup's don't require their own * layer and are added the the map using the <OpenLayers.Map.addPopup> * method. * * Example: * (code) * popup = new OpenLayers.Popup("chicken",  *                    new OpenLayers.LonLat(5,40), *                    new OpenLayers.Size(200,200), *                    "example popup", *                    true); *        * map.addPopup(popup); * (end) */OpenLayers.Popup = OpenLayers.Class({    /**      * Property: events       * {<OpenLayers.Events>} custom event manager      */    events: null,        /** Property: id     * {String} the unique identifier assigned to this popup.     */    id: "",    /**      * Property: lonlat      * {<OpenLayers.LonLat>} the position of this popup on the map     */    lonlat: null,    /**      * Property: div      * {DOMElement} the div that contains this popup.     */    div: null,    /**      * Property: size      * {<OpenLayers.Size>} the width and height of the popup.     */    size: null,        /**      * Property: contentHTML      * {String} The HTML that this popup displays.     */    contentHTML: "",        /**      * Property: backgroundColor      * {String} the background color used by the popup.     */    backgroundColor: "",        /**      * Property: opacity      * {float} the opacity of this popup (between 0.0 and 1.0)     */    opacity: "",    /**      * Property: border      * {String} the border size of the popup.  (eg 2px)     */    border: "",        /**      * Property: contentDiv      * {DOMElement} a reference to the element that holds the content of     *              the div.     */    contentDiv: null,        /**      * Property: groupDiv      * {DOMElement} the parent of <OpenLayers.Popup.contentDiv>      */    groupDiv: null,    /**      * Property: padding      * {int} the internal padding of the content div.     */    padding: 5,    /**      * Property: map      * {<OpenLayers.Map>} this gets set in Map.js when the popup is added to the map     */    map: null,    /**     * Constructor: OpenLayers.Popup    * Create a popup.    *     * Parameters:     * id - {String} a unqiue identifier for this popup.  If null is passed    *               an identifier will be automatically generated.     * lonlat - {<OpenLayers.LonLat>}  The position on the map the popup will    *                                 be shown.    * size - {<OpenLayers.Size>}      The size of the popup.    * contentHTML - {String}          The HTML content to display inside the     *                                 popup.    * closeBox - {Boolean}            Whether to display a close box inside    *                                 the popup.     */    initialize:function(id, lonlat, size, contentHTML, closeBox) {        if (id == null) {            id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");        }        this.id = id;        this.lonlat = lonlat;        this.size = (size != null) ? size                                   : new OpenLayers.Size(                                                   OpenLayers.Popup.WIDTH,                                                   OpenLayers.Popup.HEIGHT);        if (contentHTML != null) {              this.contentHTML = contentHTML;        }        this.backgroundColor = OpenLayers.Popup.COLOR;        this.opacity = OpenLayers.Popup.OPACITY;        this.border = OpenLayers.Popup.BORDER;        this.div = OpenLayers.Util.createDiv(this.id, null, null,                                              null, null, null, "hidden");        this.div.className = 'olPopup';                this.groupDiv = OpenLayers.Util.createDiv(null, null, null,                                                     null, "relative", null,                                                    "hidden");        var id = this.div.id + "_contentDiv";        this.contentDiv = OpenLayers.Util.createDiv(id, null, this.size.clone(),                                                     null, "relative", null,                                                    "hidden");        this.contentDiv.className = 'olPopupContent';                                                    this.groupDiv.appendChild(this.contentDiv);        this.div.appendChild(this.groupDiv);        if (closeBox) {           // close icon            var closeSize = new OpenLayers.Size(17,17);            var img = OpenLayers.Util.getImagesLocation() + "close.gif";            var closeImg = OpenLayers.Util.createAlphaImageDiv(this.id + "_close",                                                                 null,                                                                 closeSize,                                                                 img);            closeImg.style.right = this.padding + "px";            closeImg.style.top = this.padding + "px";            this.groupDiv.appendChild(closeImg);            var closePopup = function(e) {                this.hide();                OpenLayers.Event.stop(e);            }            OpenLayers.Event.observe(closeImg, "click",                     OpenLayers.Function.bindAsEventListener(closePopup, this));        }        this.registerEvents();    },    /**      * Method: destroy     * nullify references to prevent circular references and memory leaks     */    destroy: function() {        if (this.map != null) {            this.map.removePopup(this);            this.map = null;        }        this.events.destroy();        this.events = null;        this.div = null;    },    /**     * Method: draw    * Constructs the elements that make up the popup.    *    * Parameters:    * px - {<OpenLayers.Pixel>} the position the popup in pixels.    *     * Returns:    * {DOMElement} Reference to a div that contains the drawn popup    */    draw: function(px) {        if (px == null) {            if ((this.lonlat != null) && (this.map != null)) {                px = this.map.getLayerPxFromLonLat(this.lonlat);            }        }                this.setSize();        this.setBackgroundColor();        this.setOpacity();        this.setBorder();        this.setContentHTML();        this.moveTo(px);        return this.div;    },    /**      * Method: updatePosition     * if the popup has a lonlat and its map members set,      * then have it move itself to its proper position     */    updatePosition: function() {        if ((this.lonlat) && (this.map)) {                var px = this.map.getLayerPxFromLonLat(this.lonlat);                if (px) {                    this.moveTo(px);                           }            }    },    /**     * Method: moveTo     *      * Parameters:     * px - {<OpenLayers.Pixel>} the top and left position of the popup div.      */    moveTo: function(px) {        if ((px != null) && (this.div != null)) {            this.div.style.left = px.x + "px";            this.div.style.top = px.y + "px";        }    },    /**     * Method: visible     *     * Returns:           * {Boolean} Boolean indicating whether or not the popup is visible     */    visible: function() {        return OpenLayers.Element.visible(this.div);    },    /**     * Method: toggle     * Toggles visibility of the popup.     */    toggle: function() {        OpenLayers.Element.toggle(this.div);    },    /**     * Method: show     * Makes the popup visible.     */    show: function() {        OpenLayers.Element.show(this.div);    },    /**     * Method: hide     * Makes the popup invisible.     */    hide: function() {        OpenLayers.Element.hide(this.div);    },    /**     * Method: setSize     * Used to adjust the size of the popup.      *     * Parameters:     * size - {<OpenLayers.Size>} the new size of the popup in pixels.     */    setSize:function(size) {         if (size != undefined) {            this.size = size;         }                if (this.div != null) {            this.div.style.width = this.size.w + "px";            this.div.style.height = this.size.h + "px";        }        if (this.contentDiv != null){            this.contentDiv.style.width = this.size.w + "px";            this.contentDiv.style.height = this.size.h + "px";        }    },      /**    * Method: setBackgroundColor    * Sets the background color of the popup.    * Parameters:    * color - {String} the background color.  eg "#FFBBBB"    */    setBackgroundColor:function(color) {         if (color != undefined) {            this.backgroundColor = color;         }                if (this.div != null) {            this.div.style.backgroundColor = this.backgroundColor;        }    },          /**     * Method: setOpacity     * Sets the opacity of the popup.     *      * Parameters:     * opacity - {float} A value between 0.0 (transparent) and 1.0 (solid).        */    setOpacity:function(opacity) {         if (opacity != undefined) {            this.opacity = opacity;         }                if (this.div != null) {            // for Mozilla and Safari            this.div.style.opacity = this.opacity;            // for IE            this.div.style.filter = 'alpha(opacity=' + this.opacity*100 + ')';        }    },          /**     * Method: setBorder     * Sets the border style of the popup.     *     * Parameters:     * border - {String} The border style value. eg 2px      */    setBorder:function(border) {         if (border != undefined) {            this.border = border;        }                if (this.div != null) {            this.div.style.border = this.border;        }    },              /**     * Method: setContentHTML     * Allows the user to set the HTML content of the popup.     *     * Parameters:     * contentHTML - {String} HTML for the div.     */    setContentHTML:function(contentHTML) {        if (contentHTML != null) {            this.contentHTML = contentHTML;        }                if (this.contentDiv != null) {            this.contentDiv.innerHTML = this.contentHTML;        }        },            /**      * Method: registerEvents     * Registers events on the popup.     *     * Do this in a separate function so that subclasses can      *   choose to override it if they wish to deal differently     *   with mouse events     *      *   Note in the following handler functions that some special     *    care is needed to deal correctly with mousing and popups.      *        *   Because the user might select the zoom-rectangle option and     *    then drag it over a popup, we need a safe way to allow the     *    mousemove and mouseup events to pass through the popup when     *    they are initiated from outside.     *      *   Otherwise, we want to essentially kill the event propagation     *    for all other events, though we have to do so carefully,      *    without disabling basic html functionality, like clicking on      *    hyperlinks or drag-selecting text.     */     registerEvents:function() {        this.events = new OpenLayers.Events(this, this.div, null, true);        this.events.register("mousedown", this, this.onmousedown);        this.events.register("mousemove", this, this.onmousemove);        this.events.register("mouseup", this, this.onmouseup);        this.events.register("click", this, this.onclick);        this.events.register("mouseout", this, this.onmouseout);        this.events.register("dblclick", this, this.ondblclick);     },    /**      * Method: onmousedown      * When mouse goes down within the popup, make a note of     *   it locally, and then do not propagate the mousedown      *   (but do so safely so that user can select text inside)     *      * Parameters:     * evt - {Event}      */    onmousedown: function (evt) {        this.mousedown = true;        OpenLayers.Event.stop(evt, true);    },    /**      * Method: onmousemove     * If the drag was started within the popup, then      *   do not propagate the mousemove (but do so safely     *   so that user can select text inside)     *      * Parameters:     * evt - {Event}      */    onmousemove: function (evt) {        if (this.mousedown) {            OpenLayers.Event.stop(evt, true);        }    },    /**      * Method: onmouseup     * When mouse comes up within the popup, after going down      *   in it, reset the flag, and then (once again) do not      *   propagate the event, but do so safely so that user can      *   select text inside     *      * Parameters:     * evt - {Event}      */    onmouseup: function (evt) {        if (this.mousedown) {            this.mousedown = false;            OpenLayers.Event.stop(evt, true);        }    },    /**     * Method: onclick     * Ignore clicks, but allowing default browser handling     *      * Parameters:     * evt - {Event}      */    onclick: function (evt) {        OpenLayers.Event.stop(evt, true);    },    /**      * Method: onmouseout     * When mouse goes out of the popup set the flag to false so that     *   if they let go and then drag back in, we won't be confused.     *      * Parameters:     * evt - {Event}      */    onmouseout: function (evt) {        this.mousedown = false;    },        /**      * Method: ondblclick     * Ignore double-clicks, but allowing default browser handling     *      * Parameters:     * evt - {Event}      */    ondblclick: function (evt) {        OpenLayers.Event.stop(evt, true);    },    CLASS_NAME: "OpenLayers.Popup"});OpenLayers.Popup.WIDTH = 200;OpenLayers.Popup.HEIGHT = 200;OpenLayers.Popup.COLOR = "white";OpenLayers.Popup.OPACITY = 1;OpenLayers.Popup.BORDER = "0px";

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产在天天线2019| 欧美激情自拍偷拍| 国产成人精品一区二区三区网站观看| 国产精品青草久久| 日韩欧美高清一区| 91高清视频在线| 国产宾馆实践打屁股91| 婷婷成人综合网| 亚洲欧美日韩综合aⅴ视频| 日韩一区二区在线播放| 91美女视频网站| 高潮精品一区videoshd| 免费在线观看一区二区三区| 亚洲精品五月天| 中文字幕第一区二区| 欧美精品一区二区在线观看| 欧洲人成人精品| 99综合电影在线视频| 国产一区二区三区久久久| 日韩黄色小视频| 亚洲精品高清在线| 中文字幕一区二区三区在线观看| 欧美α欧美αv大片| 欧美日韩精品久久久| 色欲综合视频天天天| 成人深夜视频在线观看| 国产麻豆一精品一av一免费| 蜜臀av在线播放一区二区三区| 亚洲国产va精品久久久不卡综合| 亚洲欧美日韩国产另类专区 | 亚洲精品在线免费播放| 88在线观看91蜜桃国自产| 色综合婷婷久久| 91视视频在线观看入口直接观看www | 日日夜夜精品视频免费| 亚洲一区欧美一区| 亚洲精品伦理在线| 亚洲自拍偷拍网站| 亚洲一级在线观看| 夜夜夜精品看看| 亚洲一区二区三区四区在线免费观看 | av一区二区久久| 成人av在线一区二区三区| 国产精品99久久久久久似苏梦涵| 黄一区二区三区| 国产精品自在在线| 国产a久久麻豆| 成人avav影音| 成人久久久精品乱码一区二区三区| 国产一区二区视频在线播放| 国产精品正在播放| 成人激情动漫在线观看| thepron国产精品| 91麻豆免费看| 欧美日韩美少妇| 日韩一区二区三区高清免费看看| 日韩精品中文字幕在线不卡尤物| 精品黑人一区二区三区久久| 久久久91精品国产一区二区三区| 亚洲成人动漫精品| 午夜久久久影院| 狠狠色丁香婷婷综合久久片| 国产美女主播视频一区| 成人综合在线视频| 91香蕉视频黄| 欧美一区二区三区性视频| 精品三级在线观看| 中文av字幕一区| 一区二区三区日韩欧美| 视频一区中文字幕国产| 国产一区二区三区四区五区入口 | 欧美日韩精品一区二区| 日韩欧美亚洲一区二区| 亚洲国产经典视频| 亚洲bdsm女犯bdsm网站| 国产在线精品一区二区夜色 | 色狠狠综合天天综合综合| 91精品国产综合久久久蜜臀图片| 精品福利一区二区三区免费视频| 欧美高清一级片在线观看| 亚洲一区电影777| 国产一区二区三区在线观看免费| 91小视频免费观看| 日韩精品自拍偷拍| 亚洲美女视频在线| 韩国精品免费视频| 91国产丝袜在线播放| 欧美videofree性高清杂交| 亚洲图片激情小说| 精品一区二区三区久久久| 99久久综合狠狠综合久久| 欧美一区二区三区小说| 亚洲欧美一区二区视频| 精品一区二区免费| 欧美性色欧美a在线播放| 26uuu另类欧美| 亚洲国产精品一区二区久久| 国产激情视频一区二区在线观看| 欧美色视频在线| 欧美激情在线免费观看| 免费观看久久久4p| 91行情网站电视在线观看高清版| 久久久久久亚洲综合影院红桃| 亚洲国产日韩一区二区| a在线播放不卡| 久久久久青草大香线综合精品| 亚洲一区二区三区中文字幕在线 | 亚洲视频一二三区| 国产精品综合网| 91精品国产免费| 亚洲一区免费观看| 97se亚洲国产综合自在线观| 2020国产成人综合网| 日韩国产在线观看一区| 91成人免费网站| 国产精品国产三级国产普通话蜜臀| 精品一区二区三区不卡| 欧美一级艳片视频免费观看| 亚洲国产婷婷综合在线精品| 91丨porny丨中文| 中文一区二区在线观看| 国内精品国产三级国产a久久| 欧美人伦禁忌dvd放荡欲情| 亚洲精品乱码久久久久久久久| 成人国产精品免费网站| 国产性做久久久久久| 国产一区二区精品久久99| 精品人伦一区二区色婷婷| 琪琪久久久久日韩精品| 欧美一区三区四区| 奇米一区二区三区| 欧美一级夜夜爽| 久久精品国产一区二区三区免费看| 欧美精品在线观看一区二区| 五月婷婷综合激情| 欧美日韩一区二区在线观看| 亚洲一区影音先锋| 欧美在线综合视频| 午夜久久电影网| 欧美二区在线观看| 秋霞电影网一区二区| 日韩欧美国产wwwww| 国产真实精品久久二三区| 久久综合网色—综合色88| 国产.欧美.日韩| 国产精品高清亚洲| 日本韩国一区二区| 亚洲午夜精品在线| 91麻豆精品久久久久蜜臀| 爽好多水快深点欧美视频| 欧美一区中文字幕| 国产一区美女在线| 国产精品伦理在线| 欧美伊人久久大香线蕉综合69| 亚洲午夜成aⅴ人片| 555夜色666亚洲国产免| 久久99精品久久久久久久久久久久 | 色综合天天做天天爱| 亚洲高清免费视频| 日韩欧美电影一区| 丰满少妇在线播放bd日韩电影| 国产精品电影一区二区| 欧美性做爰猛烈叫床潮| 奇米综合一区二区三区精品视频| 久久婷婷久久一区二区三区| 成人美女在线视频| 亚洲bt欧美bt精品| 久久九九影视网| 色狠狠综合天天综合综合| 免费久久精品视频| 国产精品久久久久久久岛一牛影视| 日本道免费精品一区二区三区| 香蕉久久一区二区不卡无毒影院| 日韩片之四级片| fc2成人免费人成在线观看播放 | 久久九九99视频| 一本到三区不卡视频| 麻豆一区二区在线| 国产精品久久久久久久蜜臀| 欧美视频一区二区三区| 国产一区二区三区电影在线观看 | 99久久er热在这里只有精品15 | 精品一区二区久久| 亚洲天堂中文字幕| 日韩午夜三级在线| 91小视频在线| 毛片基地黄久久久久久天堂| 中文在线一区二区| 日韩一本二本av| 91麻豆免费看| 国产精品一区二区在线看| 亚洲风情在线资源站| 欧美极品xxx| 日韩一区二区三区在线视频| 91一区一区三区| 国模娜娜一区二区三区| 亚洲成人黄色影院| 亚洲图片另类小说| 久久久99精品免费观看不卡| 91精品国产一区二区三区蜜臀 |