Fixed Mouse Wheel Zoom

Source: Internet
Author: User
Fixed mouse wheel zoom
Tags: general topics

Codekaizencoordinatorapr 4 2007At 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.

Gcapniasapr 4 2007At 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.

Codekaizencoordinatorapr 4 2007At 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.

Codekaizencoordinatorapr 4 2007At 4: 39 pm

This discussion has been copied to work item 9355. You may wish to continue further discussion there.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.