Fixed Mouse Wheel Zoom

Fixed Mouse Wheel Zoom 
Tags: General Topics

Coordinator
Apr 4 2007 at 5:09 AM
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 4:11 PM
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.

Coordinator
Apr 4 2007 at 4:39 PM
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.

Coordinator
Apr 4 2007 at 4:39 PM
This discussion has been copied to Work Item 9355. You may wish to continue further discussion there.
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值