亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
一区二区成人在线视频| wwww国产精品欧美| 一区二区在线观看不卡| 一本久道中文字幕精品亚洲嫩| 亚洲色图清纯唯美| 欧美亚洲动漫精品| 日韩国产欧美三级| 久久免费看少妇高潮| 成人av免费在线| 亚洲一二三四在线观看| 欧美日韩高清一区| 狠狠色丁香婷综合久久| 国产精品水嫩水嫩| 在线一区二区三区| 美腿丝袜在线亚洲一区| 国产欧美日韩不卡免费| 在线一区二区观看| 国模娜娜一区二区三区| 国产精品免费免费| 欧美日韩亚州综合| 国产一区二区在线影院| 综合久久久久久| 91精品午夜视频| 大尺度一区二区| 视频一区二区不卡| 国产日本欧美一区二区| 91九色最新地址| 韩国理伦片一区二区三区在线播放 | 欧美视频自拍偷拍| 麻豆精品视频在线观看免费| 国产精品夫妻自拍| 日韩一区二区三区av| av中文字幕亚洲| 美国精品在线观看| 亚洲免费观看在线视频| 精品久久久久久久人人人人传媒 | 国产精品1024久久| 一区二区不卡在线视频 午夜欧美不卡在 | 亚洲男人天堂av| 日韩免费观看高清完整版| 91亚洲午夜精品久久久久久| 日本亚洲三级在线| 国产精品久久久一区麻豆最新章节| 欧美区一区二区三区| kk眼镜猥琐国模调教系列一区二区| 日韩中文字幕麻豆| 亚洲色图欧美偷拍| 欧美激情综合在线| 日韩欧美的一区| 欧美老年两性高潮| thepron国产精品| 国产伦理精品不卡| 老司机精品视频线观看86| 亚洲一区二区欧美| 亚洲精品视频在线| 亚洲欧洲日本在线| 久久精品一区二区三区不卡| 欧美一级视频精品观看| 精品视频一区二区三区免费| 97se亚洲国产综合自在线观| 成人综合婷婷国产精品久久蜜臀 | 国产日本欧美一区二区| 日韩欧美成人一区| 555夜色666亚洲国产免| 色天使色偷偷av一区二区| 国产成a人无v码亚洲福利| 久久99精品久久久久久久久久久久 | 欧美一区二区三区人| 精品视频999| 91久久精品一区二区三区| 一本到不卡免费一区二区| 91小视频在线免费看| 成人免费av资源| av电影在线观看完整版一区二区| 国产aⅴ综合色| 国产aⅴ精品一区二区三区色成熟| 国产一区二区三区美女| 国产福利精品一区二区| 国产精品一线二线三线| 国产一区欧美日韩| 国产激情精品久久久第一区二区 | 欧美精品在线一区二区三区| 欧美天堂一区二区三区| 欧美亚一区二区| 在线观看日韩精品| 欧美日韩国产乱码电影| 欧美精品九九99久久| 欧美日韩国产中文| 欧美一区日韩一区| 欧美v日韩v国产v| 久久精品人人做人人综合| 中文字幕精品三区| 亚洲视频资源在线| 一区二区三区国产精华| 午夜精品久久久久久久蜜桃app| 午夜精品福利一区二区蜜股av| 日韩不卡一区二区三区| 国产精品一区二区久久精品爱涩| 国产99久久精品| 色综合天天综合在线视频| 精品国产乱码久久久久久牛牛| 日韩一区二区在线看片| 久久精品人人做| 一区二区三区四区蜜桃| 美国毛片一区二区| 99久久国产综合精品女不卡| 欧美久久一二区| 精品国产123| 亚洲少妇30p| 麻豆精品在线观看| 99精品视频一区二区三区| 欧美日韩小视频| 国产女人aaa级久久久级 | 精品一区二区在线看| 国产白丝精品91爽爽久久| 色婷婷综合久久| 精品日本一线二线三线不卡 | 一区二区三区免费网站| 七七婷婷婷婷精品国产| 成人免费不卡视频| 欧美精品久久一区| 国产精品不卡在线观看| 婷婷开心久久网| av午夜精品一区二区三区| 7777精品伊人久久久大香线蕉完整版 | 三级久久三级久久久| 国产成人综合精品三级| 91精品国产入口在线| 中文字幕亚洲综合久久菠萝蜜| 亚洲一区二区在线播放相泽| 国产麻豆精品在线观看| 欧美日韩精品一区二区天天拍小说 | 欧美激情资源网| 日韩精品国产欧美| 99久久精品国产麻豆演员表| 日韩亚洲欧美在线观看| 亚洲精品久久7777| 成人污视频在线观看| 日韩免费视频一区二区| 亚洲国产日韩综合久久精品| 99天天综合性| 国产午夜精品一区二区| 蜜桃久久久久久| 欧美午夜不卡视频| 亚洲色图19p| 成人国产视频在线观看| 久久久久久一二三区| 美女视频黄频大全不卡视频在线播放| 91麻豆国产福利精品| 欧美激情综合在线| 国产精品自拍三区| 亚洲精品一线二线三线| 日韩电影免费一区| 欧美日韩大陆一区二区| 一区二区三区日韩欧美精品 | 欧美性受xxxx| 亚洲欧洲国产日韩| 成人激情动漫在线观看| 久久午夜电影网| 激情欧美一区二区三区在线观看| 91精品国产综合久久精品| 亚洲成精国产精品女| 欧美视频一区二区在线观看| 亚洲精品国产无天堂网2021| 91精品1区2区| 亚洲一区二区av在线| 欧美三级电影一区| 丝袜脚交一区二区| 日韩三级电影网址| 美女视频黄频大全不卡视频在线播放| 欧美一级二级在线观看| 人人爽香蕉精品| 26uuu久久天堂性欧美| 狠狠网亚洲精品| 国产视频亚洲色图| 丁香婷婷深情五月亚洲| 中文字幕一区av| 91高清视频在线| 五月激情综合网| 日韩视频国产视频| 国产一区二区精品在线观看| 国产精品午夜免费| 91一区二区在线观看| 尤物在线观看一区| 91精品国模一区二区三区| 美女久久久精品| 国产欧美一区视频| 一本一本大道香蕉久在线精品| 夜夜操天天操亚洲| 欧美一二三区在线观看| 国产精品12区| 亚洲午夜免费福利视频| 日韩一卡二卡三卡四卡| 国产精品69毛片高清亚洲| 亚洲色图制服诱惑| 欧美一级黄色片| 成人综合在线观看| 五月激情综合婷婷| 国产嫩草影院久久久久| 欧美亚洲丝袜传媒另类|