This project has moved and is read-only. For the latest updates, please go here.

Fixed Mouse Wheel Zoom

Topics: General Topics
Apr 3, 2007 at 10:09 PM
The latest changeset (20719) has the fix for MapImage_Wheel doesn't handle MouseEventArgs.Delta correctly and Null reference if no map loaded.

I also handle the MouseHover event in the MapImage control and set the focus to that control, so the mouse wheel works predictably. This was a problem for some users, such as jianyunli in MapImage didn't get MouseWheel event.
Apr 4, 2007 at 9:11 AM
I have a problem compiling the Extensions assembly:

On PostGIS.cs line 195:
    if (!String.IsNullOrEmpty(_defintionQuery!=null))
      strSQL += this.DefinitionQuery + " AND ";

The code gives me the error: The best overloaded method match for 'string.IsNullOrEmpty(string)'.

Shouldn't the code be
    if (!String.IsNullOrEmpty(_defintionQuery))
      strSQL += this.DefinitionQuery + " AND ";

George J.
Apr 4, 2007 at 9:39 AM
Yea, I noticed that too. I'm not sure what we are doing with that file - I think it is being deprecated in favor of the more current PostGIS2.cs provider. I'll mark it as a work item. Thanks for the heads up.
Apr 4, 2007 at 9:39 AM
This discussion has been copied to Work Item 9355. You may wish to continue further discussion there.