摘要: OpenLayer的Map Event在Event.js文件的OpenLayers.Events中定义。 1BROWSER_EVENTS: [ 2 "mouseover", //鼠标位于对象或区域上 3 "mouseout", //鼠标移出 4 "mousedown", //鼠标按下 5 "mous 阅读全文
posted @ 2022-06-17 11:23 devgis 阅读(557) 评论(0) 推荐(0) 编辑
摘要: Symbols with WebGL When using symbol styles with WebGL, OpenLayers would render the symbol on a temporary image and would create a WebGL texture for e 阅读全文
posted @ 2022-06-17 11:21 devgis 阅读(403) 评论(0) 推荐(0) 编辑
摘要: Icon Pixel Operations Example using an icon to symbolize a point. Click on the icon to select it, and it will be rendered using its negative image. Re 阅读全文
posted @ 2022-06-17 11:18 devgis 阅读(324) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>View Animation</title> <link rel="stylesheet" href="http://openlayers.org/en/v3.13.0/css/ol.css" type="text/css"> 阅读全文
posted @ 2022-06-17 11:16 devgis 阅读(339) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>Box Selection</title> <link rel="stylesheet" href="http://openlayers.org/en/v3.13.0/css/ol.css" type="text/css"> 阅读全文
posted @ 2022-06-17 11:16 devgis 阅读(371) 评论(0) 推荐(0) 编辑
摘要: Net 之匿名对象(AnonymousObject) 本文旨在与园有分享我对 .NET 匿名对象的认识,如果存在不足的地方欢迎指出。 前言:最近园子里面大谈程序员基础知识的文章,基础知识的重要性无需多论了。看到大家对基础知识的评论后突然想到这么一个场景。曾经有个同事问我:有一个匿名对象想做为一个函数 阅读全文
posted @ 2022-06-17 11:13 devgis 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 该方法可以处理当前队列的消息,比如一个for循环 5000次 向TextBox中追加文本,那肯定会假死一会儿的。 此时便可使用Application.DoEvents()来处理队列的信息。 简单说下使用Application.DoEvents() 和 不使用Application.DoEvents( 阅读全文
posted @ 2022-06-17 11:01 devgis 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Style、ControlTemplate 和 DataTemplate 都有触发器集合。 属性触发器只检查WPF从属属性,而数据触发器则可检查任何一种可绑定的属性。属性触发器一般用来检查WPF可视元素的属性,而数据触发器则通常用来检查不可视对象的属性。 属性触发器:通过此机制,一个属性的更改会在另 阅读全文
posted @ 2022-06-17 11:00 devgis 阅读(340) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Messaging; namespace MSMQTest { public class TestMe 阅读全文
posted @ 2022-06-17 10:55 devgis 阅读(211) 评论(0) 推荐(0) 编辑