In computing an event is an action that is usually initiated outside the scope of a program and that is handled by a piece of code inside the program

learn more… | top users | synonyms

15
votes
5answers
1k views

GIS Day function ideas?

Given that today is GIS Day I was wondering what people had run/been to/ had ideas for as function for GIS day. I have seen a few I have liked but any other stories would be awesome.
7
votes
2answers
3k views

How to trigger registered events in Openlayers?

I am building a web application where I need to compare 2 different maps of the same area, I need for the events on one map to automatically be triggered on the other map. I have so far: ...
5
votes
2answers
567 views

How to filter the MouseWheel event in a QGIS C++ plugin?

I’m developing a C++ plugin for Qgis and I want to filter/override the mouse-wheel event. I created a “maptool” to select a polygon feature on a vector layer, the feature has two attributes : an id ...
4
votes
2answers
7k views

register event “loadend” on layer

I'm trying to register a listener event on "loadend" for my google maps layer on OpenLayers. But for some reason it's not firing. There must be something small i'm overlooking. What is wrong with my ...
4
votes
3answers
6k views

How to implement mouse down event when the user clicks on the map?

Newbie programming in C#.net. I have a very simple desktop application in in arcmap. I'm trying to get the coordinates when a user clicks a button on a toolbar and when click the map. The toolbar is ...
5
votes
1answer
2k views

Layer loadstart & loadend events in OpenLayers 3

OpenLayers 2 has these layer events "loadstart & loadend." What is equivalent to them in OpenLayers 3? While a vector layer loads and is rendered, I need to show a loading icon.
1
vote
1answer
353 views

Trigger event once layer is loaded

var pixelProjection = new ol.proj.Projection({ code: 'pixel', units: 'pixels', extent: [0, 0, width, height] }); var layerNC = new ol.layer.Image({ source: new ...
5
votes
2answers
6k views

Will mousedown events fire with Touch events on OpenLayers mobile?

I can't get the mousedown event to fire on a mobile device when I click on a marker. I'm using openlayers 2.11 with TouchNavigation. The mousedown event fires just fine in Chrome on my Desktop. Are ...
1
vote
0answers
23 views

Sketch event during drawing interaction in Openlayers 3?

I'm using OpenLayers-3 form my application. In openLayers-2 we can define a sample code as follow: function drawDone(){ ... } function putPoint(){ ... } function sketchModified(){ ... } ...