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

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

?? modifyfeature.js

?? 用來在地圖上做操作GIS,在地圖上做標記
?? JS
?? 第 1 頁 / 共 2 頁
字號:
/* Copyright (c) 2006 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/Control/DragFeature.js * @requires OpenLayers/Control/SelectFeature.js * @requires OpenLayers/Handler/Keyboard.js *  * Class: OpenLayers.Control.ModifyFeature * Control to modify features.  When activated, a click renders the vertices *     of a feature - these vertices can then be dragged.  By default, the *     delete key will delete the vertex under the mouse.  New features are *     added by dragging "virtual vertices" between vertices.  Create a new *     control with the <OpenLayers.Control.ModifyFeature> constructor. * * Inherits From: *  - <OpenLayers.Control> */OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {    /**     * APIProperty: geometryTypes     * {Array(String)} To restrict modification to a limited set of geometry     *     types, send a list of strings corresponding to the geometry class     *     names.     */    geometryTypes: null,    /**     * Property: layer     * {<OpenLayers.Layer.Vector>}     */    layer: null,        /**     * Property: feature     * {<OpenLayers.Feature.Vector>} Feature currently available for modification.     */    feature: null,        /**     * Property: vertices     * {Array(<OpenLayers.Feature.Vector>)} Verticies currently available     *     for dragging.     */    vertices: null,        /**     * Property: virtualVertices     * {Array(<OpenLayers.Feature.Vector>)} Virtual vertices in the middle     *     of each edge.     */    virtualVertices: null,    /**     * Property: selectControl     * {<OpenLayers.Control.Select>}     */    selectControl: null,        /**     * Property: dragControl     * {<OpenLayers.Control.DragFeature>}     */    dragControl: null,        /**     * Property: keyboardHandler     * {<OpenLayers.Handler.Keyboard>}     */    keyboardHandler: null,        /**     * APIProperty: deleteCodes     * {Array(Integer)} Keycodes for deleting verticies.  Set to null to disable     *     vertex deltion by keypress.  If non-null, keypresses with codes     *     in this array will delete vertices under the mouse. Default     *     is 46 and 100, the 'delete' and lowercase 'd' keys.     */    deleteCodes: null,    /**     * APIProperty: virtualStyle     * {<OpenLayers.Feature.Vector.Style>}     */    virtualStyle: null,        /**     * APIProperty: onModificationStart      * {Function} Optional function to be called when a feature is selected     *     to be modified. The function should expect to be called with a     *     feature.  This could be used for example to allow to lock the     *     feature on server-side.     */    onModificationStart: function() {},    /**     * APIProperty: onModification     * {Function} Optional function to be called when a feature has been     *     modified.  The function should expect to be called with a feature.     */    onModification: function() {},    /**     * APIProperty: onModificationEnd     * {Function} Optional function to be called when a feature is finished      *     being modified.  The function should expect to be called with a     *     feature.     */    onModificationEnd: function() {},    /**     * Constructor: OpenLayers.Control.ModifyFeature     * Create a new modify feature control.     *     * Parameters:     * layer - {<OpenLayers.Layer.Vector>} Layer that contains features that     *     will be modified.     * options - {Object} Optional object whose properties will be set on the     *     control.     */    initialize: function(layer, options) {        this.layer = layer;        this.vertices = [];        this.virtualVertices = [];        this.styleVirtual = OpenLayers.Util.extend({}, this.layer.style);        this.styleVirtual.fillOpacity = 0.3;        this.styleVirtual.strokeOpacity = 0.3;        this.deleteCodes = [46, 100];        OpenLayers.Control.prototype.initialize.apply(this, [options]);        if(!(this.deleteCodes instanceof Array)) {            this.deleteCodes = [this.deleteCodes];        }        var control = this;        // configure the select control        var selectOptions = {            geometryTypes: this.geometryTypes,            onSelect: function(feature) {                control.selectFeature.apply(control, [feature]);            },            onUnselect: function(feature) {                control.unselectFeature.apply(control, [feature]);            }        };        this.selectControl = new OpenLayers.Control.SelectFeature(            layer, selectOptions        );        // configure the drag control        var dragOptions = {            geometryTypes: ["OpenLayers.Geometry.Point"],            snappingOptions: this.snappingOptions,            onStart: function(feature, pixel) {                control.dragStart.apply(control, [feature, pixel]);            },            onDrag: function(feature) {                control.dragVertex.apply(control, [feature]);            },            onComplete: function(feature) {                control.dragComplete.apply(control, [feature]);            }        };        this.dragControl = new OpenLayers.Control.DragFeature(            layer, dragOptions        );        // configure the keyboard handler        var keyboardOptions = {            keypress: this.handleKeypress        };        this.keyboardHandler = new OpenLayers.Handler.Keyboard(            this, keyboardOptions        );    },    /**     * APIMethod: destroy     * Take care of things that are not handled in superclass.     */    destroy: function() {        this.layer = null;        this.selectControl.destroy();        this.dragControl.destroy();        this.keyboardHandler.destroy();        OpenLayers.Control.prototype.destroy.apply(this, []);    },    /**     * APIMethod: activate     * Activate the control and the feature handler.     *      * Returns:     * {Boolean} Successfully activated the control and feature handler.     */    activate: function() {        return (this.selectControl.activate() &&                this.keyboardHandler.activate() &&                OpenLayers.Control.prototype.activate.apply(this, arguments));    },    /**     * APIMethod: deactivate     * Deactivate the controls.     *     * Returns:      * {Boolean} Successfully deactivated the control.     */    deactivate: function() {        var deactivated = false;        // the return from the controls is unimportant in this case        if(OpenLayers.Control.prototype.deactivate.apply(this, arguments)) {            this.layer.removeFeatures(this.vertices);            this.layer.removeFeatures(this.virtualVertices);            this.vertices = [];            this.dragControl.deactivate();            if(this.feature) {                this.selectControl.unselect.apply(this.selectControl,                                                  [this.feature]);            }            this.selectControl.deactivate();            this.keyboardHandler.deactivate();            deactivated = true;        }        return deactivated;    },    /**     * Method: selectFeature     * Called when the select feature control selects a feature.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人一二三| 亚洲久草在线视频| 精品在线免费视频| 精品免费国产二区三区| 久久精品国产在热久久| 久久精品亚洲精品国产欧美 | 亚洲一区二区三区四区在线免费观看 | 成人禁用看黄a在线| 国产精品区一区二区三区 | 一本一道久久a久久精品综合蜜臀| 亚洲桃色在线一区| 91久久免费观看| 午夜精品久久久久久久久| 欧美电影免费提供在线观看| 国产精品一区二区在线观看网站| 欧美国产精品久久| 欧美色精品在线视频| 麻豆久久久久久| 国产精品卡一卡二| 欧美一区二区三区四区五区| 国产精品一二三区| 亚洲成a人片在线观看中文| 2020国产成人综合网| 色哟哟日韩精品| 美女视频黄频大全不卡视频在线播放| 久久蜜桃一区二区| 欧美在线视频全部完| 国内精品国产三级国产a久久| 亚洲女同ⅹxx女同tv| 日韩一区二区三区四区| 成人深夜福利app| 日韩电影在线一区二区| 亚洲欧美综合色| 日韩欧美国产综合| 一本大道久久a久久精二百| 美女爽到高潮91| 亚洲一区av在线| 久久久www免费人成精品| 欧美午夜精品免费| 国产91精品精华液一区二区三区| 亚洲成人777| 亚洲天堂免费在线观看视频| 26uuu亚洲综合色| 欧美日韩国产欧美日美国产精品| 成人av在线一区二区三区| 久久精工是国产品牌吗| 又紧又大又爽精品一区二区| 国产午夜亚洲精品理论片色戒 | 波多野结衣欧美| 韩国v欧美v日本v亚洲v| 午夜精品aaa| 一区二区三区在线看| 国产女主播视频一区二区| 日韩一区二区在线观看视频播放| 欧美在线视频全部完| 91在线码无精品| 成人激情文学综合网| 国产精品88av| 国产成人亚洲精品青草天美| 免费亚洲电影在线| 三级久久三级久久| 亚洲国产一区视频| 曰韩精品一区二区| 亚洲免费av观看| 亚洲日本在线天堂| 国产精品免费视频一区| 国产人成亚洲第一网站在线播放| 精品成人一区二区| 日韩欧美国产精品| 日韩欧美一级二级三级| 9191成人精品久久| 欧美久久久一区| 欧美日韩性生活| 欧美久久一二区| 日韩一区二区三区免费观看| 欧美一区二区三区在线电影| 91精品一区二区三区在线观看| 91日韩精品一区| 91国产免费观看| 欧洲亚洲国产日韩| 7799精品视频| 欧美www视频| 欧美精品一区二区三区在线 | 中文字幕乱码亚洲精品一区| 欧美国产1区2区| 亚洲精品第1页| 亚洲亚洲人成综合网络| 丝袜亚洲另类欧美| 免费人成网站在线观看欧美高清| 麻豆一区二区在线| 国产在线不卡一区| 大胆欧美人体老妇| 在线观看日韩高清av| 欧美精品在欧美一区二区少妇| 日韩一级高清毛片| 久久伊人蜜桃av一区二区| 中文在线一区二区| 亚洲午夜一二三区视频| 免费精品视频最新在线| 国产精品一区免费视频| 一本色道久久综合亚洲精品按摩 | 日韩你懂的在线观看| 26uuu精品一区二区三区四区在线| 日本一区二区三区在线不卡| 中文字幕一区二区三区在线观看| 亚洲综合在线电影| 精品一二线国产| 99re这里只有精品首页| 欧美精品久久久久久久久老牛影院 | 亚洲成精国产精品女| 韩国三级在线一区| 91影视在线播放| 日韩欧美在线观看一区二区三区| 日本一区二区综合亚洲| 亚洲第一电影网| 国产成人在线视频网址| 在线观看亚洲精品| 久久久亚洲午夜电影| 国产精品色在线| 亚洲成a人在线观看| 成人性色生活片| 91精品国产综合久久香蕉麻豆| 久久久精品欧美丰满| 香港成人在线视频| 波多野结衣欧美| 欧美xxxxx牲另类人与| 一区二区三区四区高清精品免费观看| 美女视频黄免费的久久| 在线视频一区二区免费| 国产日韩欧美一区二区三区综合| 亚洲超丰满肉感bbw| 成人av免费观看| 日韩精品中文字幕在线不卡尤物| 亚洲人成影院在线观看| 激情五月播播久久久精品| 欧美色电影在线| 亚洲三级久久久| 成人综合激情网| 精品国产一区二区三区四区四| 亚洲制服丝袜av| 91色porny在线视频| 国产片一区二区| 国内一区二区视频| 欧美一级片免费看| 日日骚欧美日韩| 欧洲精品中文字幕| 亚洲黄色小说网站| 91性感美女视频| 国产精品天天看| 风流少妇一区二区| 久久婷婷综合激情| 国产呦萝稀缺另类资源| 欧美刺激午夜性久久久久久久| 午夜精品福利一区二区三区av| 色伊人久久综合中文字幕| 国产精品久久久久久久久免费桃花| 精品一区二区在线视频| 日韩欧美综合在线| 青青草91视频| 日韩欧美色综合网站| 秋霞电影网一区二区| 欧美一区二区三区在线视频 | 日韩一级片网址| 午夜av电影一区| 91精品国产综合久久香蕉的特点 | 国产农村妇女精品| 丁香激情综合五月| 国产精品乱子久久久久| 91在线一区二区三区| 国产精品成人免费| 91农村精品一区二区在线| 亚洲人午夜精品天堂一二香蕉| 91尤物视频在线观看| 亚洲午夜电影在线观看| 欧美日韩一区三区四区| 免费av网站大全久久| 日韩欧美电影一二三| 国产一区福利在线| 亚洲国产成人自拍| 91免费观看在线| 亚洲一区二区三区国产| 日韩一区二区三区免费观看 | 成人黄色片在线观看| 亚洲欧美一区二区三区国产精品| 欧美中文字幕亚洲一区二区va在线| 国产成人在线网站| 亚洲人成亚洲人成在线观看图片| 欧美自拍偷拍午夜视频| 美国欧美日韩国产在线播放| 国产色综合一区| 91麻豆视频网站| 午夜天堂影视香蕉久久| 宅男噜噜噜66一区二区66| 激情五月婷婷综合网| 亚洲欧洲日韩女同| 欧美电影在线免费观看| 国产成人精品免费| 亚洲高清视频在线| 国产欧美日韩在线| 欧美日韩综合不卡|