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

1
vote
0answers
99 views

ArcObjects - IGraphicsContainerEvents_ElementAddedEventHandler Unregisters After a Few Fires

I am using IGraphicsContainerEvents_ElementAddedEventHandler to do stuff with graphics added by users in an ArcMap session using the standard drawing toolbar. As the code snippet below shows, its a ...
8
votes
3answers
2k views

ArcObjects (ArcGIS for Desktop and C#): How to cast between the ArcMap COM UI and my custom .Net UserControl objects?

I'm creating a utility to run in ArcGIS for Desktop using ArcObjects (9.3.1 SDK) and C#.Net. My prototype involves a toolbar with two comboboxes and a tool. The first combo selects a layer in the TOC, ...
5
votes
2answers
4k 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 ...
2
votes
2answers
710 views

ArcMap - Strange Behavior When Trying To Wire IActiveViewEvents in IDockableWindow

I can't seem to wire up IActiveViewEvents for an IDockableWindow. I am using a straight out-of-the-box IDockableWindow which inherits BaseCommand. The snippet below shows what I have added to the ...
1
vote
2answers
3k views

SelectFeature not working in OpenLayers

I'm still sort of new to openlayers, but I've been able to set up a map which reads in a KML, loops through the different regions contained therein, and draws those polygons on a vector layer overtop ...
2
votes
5answers
3k views

Event listeners after each plotting of a point of a Polygon Vector in OpenLayers

I am quite new to OpenLayers. I have a polygonLayer for users to draw polygon vectors. The plotting feature is working fine. polygonLayer = new OpenLayers.Layer.Vector("Polygon Layer"); ...
5
votes
2answers
331 views

ArcObjects Class Extension - core events not being fired by an editing tool

I think I've just hit a major limitation with how ArcMap (10) deals with class extensions on a Feature Class but I would first like to make sure I'm not missing something or seeing a bug. I have a ...
0
votes
0answers
79 views

Which events are fired when the mapscale changes? [duplicate]

Possible Duplicate: How to catch when scale is changed in ArcGIS? Are there any events which are fired when the user changes the mapscale by zooming? What I finally want to do is limiting ...
3
votes
2answers
1k views

How to list ActiveView SelectionChanged event delegates in ArcObjects .NET?

I currently have an issue in an ArcObjects ArcMap add-in where my event handlers are seemingly-randomly being unhooked from the event I'm trying to catch. I've spent some time looking for a way to ...
4
votes
1answer
5k 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
546 views

Type of event dispatched when the user double-clicks the map

I am currently working with a drawing tool for the ESRI Flex API, and every time I double-click the mouse a map service will perform a measurement and display the length of the line that I am drawing. ...
3
votes
1answer
186 views

How to release Events

I want to use the OnCreateFeature-Event to combine it with other actions. So I use Events.OnCreateFeature += delegate(IObject obj) { LoopTools_OnCreateFeature(obj); }; to listen to this event. ...
3
votes
2answers
1k views

Counting Events Per Polygon Feature

I would like to calculate the total number of events within each feature of a polygon using a dbf file and a polygon shapefile. Is there an easy way to automate this so I can then produce charts per ...
4
votes
2answers
4k 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 ...
14
votes
5answers
902 views

Best GIS Day 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. Thanks, CDB