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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? google.js

?? 用來在地圖上做操作GIS,在地圖上做標(biāo)記
?? 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/SphericalMercator.js * @requires OpenLayers/Layer/EventPane.js * @requires OpenLayers/Layer/FixedZoomLevels.js *  * Class: OpenLayers.Layer.Google *  * Inherits from: *  - <OpenLayers.Layer.SphericalMercator> *  - <OpenLayers.Layer.EventPane> *  - <OpenLayers.Layer.FixedZoomLevels> */OpenLayers.Layer.Google = OpenLayers.Class(    OpenLayers.Layer.EventPane,     OpenLayers.Layer.FixedZoomLevels, {        /**      * Constant: MIN_ZOOM_LEVEL     * {Integer} 0      */    MIN_ZOOM_LEVEL: 0,        /**      * Constant: MAX_ZOOM_LEVEL     * {Integer} 19     */    MAX_ZOOM_LEVEL: 19,    /**      * Constant: RESOLUTIONS     * {Array(Float)} Hardcode these resolutions so that they are more closely     *                tied with the standard wms projection     */    RESOLUTIONS: [        1.40625,         0.703125,         0.3515625,         0.17578125,         0.087890625,         0.0439453125,        0.02197265625,         0.010986328125,         0.0054931640625,         0.00274658203125,        0.001373291015625,         0.0006866455078125,         0.00034332275390625,        0.000171661376953125,         0.0000858306884765625,         0.00004291534423828125,        0.00002145767211914062,         0.00001072883605957031,        0.00000536441802978515,         0.00000268220901489257    ],    /**     * APIProperty: type     * {GMapType}     */    type: null,    /**     * APIProperty: sphericalMercator     * {Boolean} Should the map act as a mercator-projected map? This will     * cause all interactions with the map to be in the actual map projection,     * which allows support for vector drawing, overlaying other maps, etc.      */    sphericalMercator: false,     /**      * Constructor: OpenLayers.Layer.Google     *      * Parameters:     * name - {String}     * options - {Object}     */    initialize: function(name, options) {        OpenLayers.Layer.EventPane.prototype.initialize.apply(this, arguments);        OpenLayers.Layer.FixedZoomLevels.prototype.initialize.apply(this,                                                                     arguments);        this.addContainerPxFunction();        if (this.sphericalMercator) {            OpenLayers.Util.extend(this, OpenLayers.Layer.SphericalMercator);            this.initMercatorParameters();        }        },        /**      * Method: loadMapObject     * Load the GMap and register appropriate event listeners. If we can't      *     load GMap2, then display a warning message.     */    loadMapObject:function() {                //has gmaps library has been loaded?        try {            // create GMap, hide nav controls            this.mapObject = new GMap2( this.div );            // move the ToS and branding stuff up to the pane            // thanks a *mil* Erik for thinking of this            var poweredBy = this.div.lastChild;            this.div.removeChild(poweredBy);            this.pane.appendChild(poweredBy);            poweredBy.className = "olLayerGooglePoweredBy gmnoprint";            poweredBy.style.left = "";            poweredBy.style.bottom = "";            var termsOfUse = this.div.lastChild;            this.div.removeChild(termsOfUse);            this.pane.appendChild(termsOfUse);            termsOfUse.className = "olLayerGoogleCopyright";            termsOfUse.style.right = "";            termsOfUse.style.bottom = "";        } catch (e) {            // do not crash        }                   },    /**      * APIMethod: setMap     * Overridden from EventPane because if a map type has been specified,      *     we need to attach a listener for the first moveend -- this is how      *     we will know that the map has been centered. Only once the map has      *     been centered is it safe to change the gmap object's map type.      *      * Parameters:     * map - {<OpenLayers.Map>}     */    setMap: function(map) {        OpenLayers.Layer.EventPane.prototype.setMap.apply(this, arguments);        if (this.type != null) {            this.map.events.register("moveend", this, this.setMapType);        }    },        /**      * Method: setMapType     * The map has been centered, and a map type was specified, so we      *     set the map type on the gmap object, then unregister the listener     *     so that we dont keep doing this every time the map moves.     */    setMapType: function() {        if (this.mapObject.getCenter() != null) {            this.mapObject.setMapType(this.type);            this.map.events.unregister("moveend", this, this.setMapType);        }    },    /**     * APIMethod: onMapResize     *      * Parameters:     * evt - {Event}     */    onMapResize: function() {        this.mapObject.checkResize();      },    /**     * APIMethod: getZoomForExtent     *      * Parameters:     * bounds - {<OpenLayers.Bounds>}     *       * Returns:     * {Integer} Corresponding zoom level for a specified Bounds.      *           If mapObject is not loaded or not centered, returns null     *    getZoomForExtent: function (bounds) {        var zoom = null;        if (this.mapObject != null) {            var moBounds = this.getMapObjectBoundsFromOLBounds(bounds);            var moZoom = this.getMapObjectZoomFromMapObjectBounds(moBounds);            //make sure zoom is within bounds                var moZoom = Math.min(Math.max(moZoom, this.minZoomLevel),                                  this.maxZoomLevel);            zoom = this.getOLZoomFromMapObjectZoom(moZoom);        }        return zoom;    },        */      //  // TRANSLATION: MapObject Bounds <-> OpenLayers.Bounds  //    /**     * APIMethod: getOLBoundsFromMapObjectBounds     *      * Parameters:     * moBounds - {Object}     *      * Returns:     * {<OpenLayers.Bounds>} An <OpenLayers.Bounds>, translated from the      *                       passed-in MapObject Bounds.     *                       Returns null if null value is passed in.     */    getOLBoundsFromMapObjectBounds: function(moBounds) {        var olBounds = null;        if (moBounds != null) {            var sw = moBounds.getSouthWest();            var ne = moBounds.getNorthEast();            if (this.sphericalMercator) {                sw = this.forwardMercator(sw.lng(), sw.lat());                ne = this.forwardMercator(ne.lng(), ne.lat());            } else {                sw = new OpenLayers.LonLat(sw.lng(), sw.lat());                 ne = new OpenLayers.LonLat(ne.lng(), ne.lat());             }                olBounds = new OpenLayers.Bounds(sw.lon,                                              sw.lat,                                              ne.lon,                                              ne.lat );        }        return olBounds;    },    /**     * APIMethod: getMapObjectBoundsFromOLBounds     *      * Parameters:     * olBounds - {<OpenLayers.Bounds>}     *      * Returns:     * {Object} A MapObject Bounds, translated from olBounds     *          Returns null if null value is passed in     */    getMapObjectBoundsFromOLBounds: function(olBounds) {        var moBounds = null;        if (olBounds != null) {            var sw = this.sphericalMercator ?               this.inverseMercator(olBounds.bottom, olBounds.left) :               new OpenLayers.LonLat(olBounds.bottom, olBounds.left);            var ne = this.sphericalMercator ?               this.inverseMercator(olBounds.top, olBounds.right) :               new OpenLayers.LonLat(olBounds.top, olBounds.right);            moBounds = new GLatLngBounds(new GLatLng(sw.lat, sw.lon),                                         new GLatLng(ne.lat, ne.lon));        }        return moBounds;    },    /**      * Method: addContainerPxFunction     * Hack-on function because GMAPS does not give it to us     *      * Parameters:      * gLatLng - {GLatLng}     *      * Returns:     * {GPoint} A GPoint specifying gLatLng translated into "Container" coords     */    addContainerPxFunction: function() {        if ( (typeof GMap2 != "undefined") &&              !GMap2.prototype.fromLatLngToContainerPixel) {                      GMap2.prototype.fromLatLngToContainerPixel = function(gLatLng) {                          // first we translate into "DivPixel"                var gPoint = this.fromLatLngToDivPixel(gLatLng);                      // locate the sliding "Div" div                var div = this.getContainer().firstChild.firstChild;                  // adjust by the offset of "Div" and voila!                gPoint.x += div.offsetLeft;                gPoint.y += div.offsetTop;                    return gPoint;            };        }    },    /**      * APIMethod: getWarningHTML     *      * Returns:      * {String} String with information on why layer is broken, how to get     *          it working.     */    getWarningHTML:function() {        var html = "";        html += "The Google Layer was unable to load correctly.<br>";        html += "<br>";        html += "To get rid of this message, select a new BaseLayer "        html += "in the layer switcher in the upper-right corner.<br>";        html += "<br>";        html += "Most likely, this is because the Google Maps library";        html += " script was either not included, or does not contain the";        html += " correct API key for your site.<br>";        html += "<br>";        html += "Developers: For help getting this working correctly, ";        html += "<a href='http://trac.openlayers.org/wiki/Google' "        html +=  "target='_blank'>";        html +=     "click here";        html += "</a>";                return html;    },    /************************************     *                                  *     *   MapObject Interface Controls   *     *                                  *     ************************************/  // Get&Set Center, Zoom    /**      * APIMethod: setMapObjectCenter     * Set the mapObject to the specified center and zoom     *      * Parameters:     * center - {Object} MapObject LonLat format     * zoom - {int} MapObject zoom format     */    setMapObjectCenter: function(center, zoom) {        this.mapObject.setCenter(center, zoom);     },       /**     * APIMethod: getMapObjectCenter     *      * Returns:      * {Object} The mapObject's current center in Map Object format     */    getMapObjectCenter: function() {        return this.mapObject.getCenter();    },    /**      * APIMethod: getMapObjectZoom     *      * Returns:     * {Integer} The mapObject's current zoom, in Map Object format     */    getMapObjectZoom: function() {        return this.mapObject.getZoom();    },  // LonLat - Pixel Translation      /**     * APIMethod: getMapObjectLonLatFromMapObjectPixel     *      * Parameters:     * moPixel - {Object} MapObject Pixel format     *      * Returns:     * {Object} MapObject LonLat translated from MapObject Pixel     */    getMapObjectLonLatFromMapObjectPixel: function(moPixel) {        return this.mapObject.fromContainerPixelToLatLng(moPixel);    },    /**     * APIMethod: getMapObjectPixelFromMapObjectLonLat     *      * Parameters:     * moLonLat - {Object} MapObject LonLat format     *      * Returns:     * {Object} MapObject Pixel transtlated from MapObject LonLat     */    getMapObjectPixelFromMapObjectLonLat: function(moLonLat) {        return this.mapObject.fromLatLngToContainerPixel(moLonLat);    },    // Bounds      /**      * APIMethod: getMapObjectZoomFromMapObjectBounds     *      * Parameters:     * moBounds - {Object} MapObject Bounds format     *      * Returns:     * {Object} MapObject Zoom for specified MapObject Bounds     */    getMapObjectZoomFromMapObjectBounds: function(moBounds) {        return this.mapObject.getBoundsZoomLevel(moBounds);    },    /************************************     *                                  *     *       MapObject Primitives       *     *                                  *     ************************************/  // LonLat        /**     * APIMethod: getLongitudeFromMapObjectLonLat     *      * Parameters:     * moLonLat - {Object} MapObject LonLat format     *      * Returns:     * {Float} Longitude of the given MapObject LonLat     */    getLongitudeFromMapObjectLonLat: function(moLonLat) {        return this.sphericalMercator ?           this.forwardMercator(moLonLat.lng(), moLonLat.lat()).lon :          moLonLat.lng();      },    /**     * APIMethod: getLatitudeFromMapObjectLonLat     *      * Parameters:     * moLonLat - {Object} MapObject LonLat format     *      * Returns:     * {Float} Latitude of the given MapObject LonLat     */    getLatitudeFromMapObjectLonLat: function(moLonLat) {        var lat = this.sphericalMercator ?           this.forwardMercator(moLonLat.lng(), moLonLat.lat()).lat :          moLonLat.lat();         return lat;      },        /**     * APIMethod: getMapObjectLonLatFromLonLat     *      * Parameters:     * lon - {Float}     * lat - {Float}     *      * Returns:     * {Object} MapObject LonLat built from lon and lat params     */    getMapObjectLonLatFromLonLat: function(lon, lat) {        var gLatLng;        if(this.sphericalMercator) {            var lonlat = this.inverseMercator(lon, lat);            gLatLng = new GLatLng(lonlat.lat, lonlat.lon);        } else {            gLatLng = new GLatLng(lat, lon);        }        return gLatLng;    },  // Pixel        /**     * APIMethod: getXFromMapObjectPixel     *      * Parameters:     * moPixel - {Object} MapObject Pixel format     *      * Returns:     * {Integer} X value of the MapObject Pixel     */    getXFromMapObjectPixel: function(moPixel) {        return moPixel.x;    },    /**     * APIMethod: getYFromMapObjectPixel     *      * Parameters:     * moPixel - {Object} MapObject Pixel format     *      * Returns:     * {Integer} Y value of the MapObject Pixel     */    getYFromMapObjectPixel: function(moPixel) {        return moPixel.y;    },    /**     * APIMethod: getMapObjectPixelFromXY     *      * Parameters:     * x - {Integer}     * y - {Integer}     *      * Returns:     * {Object} MapObject Pixel from x and y parameters     */    getMapObjectPixelFromXY: function(x, y) {        return new GPoint(x, y);    },    CLASS_NAME: "OpenLayers.Layer.Google"});

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久久久久快鸭 | 欧美精品一级二级三级| 国产精品网站一区| 不卡的av电影在线观看| 亚洲人吸女人奶水| 欧美三级乱人伦电影| 日本亚洲免费观看| 久久久亚洲午夜电影| 成人污污视频在线观看| 亚洲色欲色欲www| 欧美日韩一区二区三区高清 | 一本一道久久a久久精品综合蜜臀| 中文字幕中文在线不卡住| 色综合天天天天做夜夜夜夜做| 亚洲欧美日韩成人高清在线一区| 欧美精品v日韩精品v韩国精品v| 蜜臀av性久久久久蜜臀aⅴ | 久久精品日韩一区二区三区| 成人精品高清在线| 亚洲亚洲精品在线观看| 日韩三区在线观看| 成人91在线观看| 国产成人丝袜美腿| 亚洲成人精品一区| 久久综合久久99| 欧美日韩中文国产| 国产精品一区二区在线播放| 亚洲色图20p| 精品国产第一区二区三区观看体验| 国产成人午夜视频| 亚洲成av人片| 国产精品免费看片| 日韩一区二区在线观看视频| 成人av午夜影院| 日本成人在线电影网| 国产欧美综合色| 在线播放国产精品二区一二区四区| 国产高清在线精品| 免费精品视频在线| 亚洲伦在线观看| 国产亚洲一区字幕| 欧美一级高清片| 色8久久精品久久久久久蜜| 久久电影网站中文字幕| 一区二区三区四区亚洲| 国产色91在线| 欧美一区二区三区影视| 色综合久久综合| 懂色av一区二区在线播放| 另类专区欧美蜜桃臀第一页| 亚洲国产成人av好男人在线观看| 中国色在线观看另类| 日韩免费在线观看| 欧美人动与zoxxxx乱| 91麻豆国产福利精品| 国产91精品免费| 国产剧情一区二区| 激情久久久久久久久久久久久久久久| 亚洲电影中文字幕在线观看| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲成人av免费| 亚洲柠檬福利资源导航| 中文字幕中文乱码欧美一区二区 | 欧美日本一区二区在线观看| 99久久精品费精品国产一区二区| 国产裸体歌舞团一区二区| 美腿丝袜亚洲色图| 美女网站视频久久| 免费高清成人在线| 久久草av在线| 国产一区二区不卡| 狠狠色狠狠色综合| 国产中文字幕一区| 国产最新精品精品你懂的| 精品制服美女久久| 国产乱人伦精品一区二区在线观看| 日韩精品欧美成人高清一区二区| 亚洲综合免费观看高清完整版在线| 亚洲精品ww久久久久久p站| 亚洲人成在线播放网站岛国| 亚洲欧美日本在线| 亚洲午夜私人影院| 日韩黄色免费网站| 国产乱码精品一区二区三区忘忧草 | 欧美精品一区二区在线观看| 精品国产免费视频| 欧美国产日产图区| 最近日韩中文字幕| 午夜久久久影院| 男人的天堂久久精品| 国内外成人在线| 国产91精品一区二区麻豆亚洲| av电影在线观看不卡| 色噜噜狠狠色综合欧洲selulu| 欧洲国产伦久久久久久久| 欧美日本在线观看| 精品久久国产字幕高潮| 国产精品久久久久桃色tv| 亚洲人成影院在线观看| 午夜精品久久久久久久蜜桃app| 青青草91视频| 国产成人精品亚洲日本在线桃色| 91天堂素人约啪| 91精品国产一区二区| 久久久不卡网国产精品二区| 国产精品乱码人人做人人爱| 亚洲国产成人高清精品| 激情成人综合网| gogo大胆日本视频一区| 欧美日本在线一区| 久久精品欧美日韩| 一区二区三区小说| 久久电影网站中文字幕| 95精品视频在线| 91精品国产综合久久精品性色| 欧美国产综合一区二区| 亚洲在线观看免费视频| 国产乱码字幕精品高清av| 精品视频资源站| 欧美精彩视频一区二区三区| 一区二区三区91| 国产高清一区日本| 欧美美女喷水视频| 国产精品嫩草影院av蜜臀| 亚洲国产精品视频| jlzzjlzz亚洲日本少妇| 日韩欧美中文字幕公布| 亚洲视频一区二区在线| 黄色日韩网站视频| 欧美日韩精品三区| 亚洲欧美色综合| 国产91精品免费| 日韩精品在线看片z| 依依成人综合视频| 国产成人精品三级麻豆| 日韩一区二区免费高清| 亚洲免费在线看| 成人精品视频一区二区三区尤物| 欧美一区二区不卡视频| 亚洲久本草在线中文字幕| 国产福利电影一区二区三区| 欧美日韩激情一区| 有码一区二区三区| 99re热这里只有精品免费视频| 精品国产污网站| 青青草原综合久久大伊人精品| 欧美三级一区二区| 一区二区三区欧美亚洲| 成人理论电影网| 国产女人水真多18毛片18精品视频| 男人的天堂亚洲一区| 欧美日韩你懂得| 亚洲一区在线观看视频| 99久久精品费精品国产一区二区| 国产亚洲一二三区| 国产制服丝袜一区| 日韩精品一区二区三区三区免费| 午夜精品久久久久| 欧美男女性生活在线直播观看| 一区二区三区加勒比av| 色94色欧美sute亚洲线路二| 中文字幕制服丝袜一区二区三区 | 国产日韩在线不卡| 国产精品一级在线| 久久一区二区三区国产精品| 久久国产剧场电影| 久久久精品人体av艺术| 韩国av一区二区三区四区| 精品国免费一区二区三区| 久久se这里有精品| 精品福利av导航| 国产馆精品极品| 国产精品三级电影| 一本大道久久a久久综合婷婷| 亚洲特级片在线| 欧美主播一区二区三区| 亚洲成a人片在线观看中文| 欧美精品日日鲁夜夜添| 奇米色一区二区| 久久久精品蜜桃| 成人国产精品免费网站| 亚洲免费伊人电影| 欧美视频在线一区二区三区| 视频在线观看一区| 欧美精品一区二区精品网| 高清久久久久久| 一区二区成人在线| 欧美一区二区三区日韩视频| 精品一二三四区| 国产精品美女久久久久aⅴ国产馆| 色美美综合视频| 日韩综合小视频| 国产亚洲欧美在线| 色婷婷av一区| 久久国产精品区| 中文字幕视频一区| 欧美人体做爰大胆视频| 国产乱妇无码大片在线观看| 亚洲天堂2016| 精品成人a区在线观看|