MapViewer mouse wheel support?

Hi all,
I'd like to know whether MapViewer has javascript support for mouse wheel events. I would like to implement mouse wheel zooming however the api does not have an "onMouseWheel" event for a MVMapView component. Another way to do this would be to add mouse wheel support to the page, and then use "onMouseOver" and "onMouseOut" events to determine whether the cursor is over the map or not, however these events also don't seem to be supported. Any ideas would be much appreciated. Thanks.

As it turns out their is inbuilt support for mouse wheel zooming but for some reason it doesn't appear to be included in the supplied java API documentation. This command is all that is required: mapview.setMouseWheelZoomEnabled(true)

Similar Messages

  • AIR mouse wheel support - not customizable

    Hello,
    I never used and never needed Adobe AIR until I contracted some subscriptions trough Zinio.
    One of the most hurting and missing feature, for me, is the ability to configure the mouse wheel command as a Zoom In/Out function.
    Scrolling can easily be achieved through Left click and drag, but Zooming is only accessed through a menu which is a pain.
    What do you think?

    Hi,
    This is actually not a limitation of AIR/Flash, but more a design decision by Zinio.  I would recommend dropping them a comment and letting them know your idea.  I think it sounds very reasonable and something that could at least be a user preference.
    Chris

  • Bad Idea: Making default behavior of "built in mouse wheel support" set to on key focus

    This is just a little rant....
    I love new features in Labview, but setting them to be on automatically when they can generate unexpect behaviour is really a bad idea. We recently moved from 2012 to 2013. Suddenly, I have users saying "values are changing and I don't know why". Turns out they were changing a value in a numeric, then attempting to scroll away. Why on earth would NI make this the default behavior??? Luckly for us the value change wasn't too bad but I could think of a few places that a sudden, unplanned change in a numeric could have ruined an experiment.
    Off to do alot of work to undo this....

    RTSLVU wrote:
    I have noticed this too, but I swear long before 2013.
    You should not have to scroll around a user interface to begin with.
    If you can not fit a user interface on one screen of the target machine it's time to rethink your interface.
    I suggest dividing things up by task and using a tab control.
    and this is why I now hate posting in this forum.....
    People just love to tell you how you should be doing something, and not focusing on the topic of the thread. If everyone is going to get stuck on the "UI's should not have scroll bars" soap box, see the attached screen shot. This problem arose from a settings pop-up dialog. I could have used tabs, but in this case it makes more sense for the users to move top to bottom in a linear fashion through the process they are setting up.
    My point in all this is why would NI make this the default behavior? I like the feature, but it should have been something that a designer has to actively turn on.
    Attachments:
    settings screen.PNG ‏181 KB

  • Combo Box Indicator: mouse wheel bug or feature?

    Both ring indicator and slide indicator works fine even when the mouse wheel property is enabled.
    But user can change value of the Combo Box indicator at runtime.
    Shouldn't it be disabled, by default, just like for the keyboard?  After all, it's an indicator.
    I know I can disable the mouse wheel feature.  It should be disable by default.
    Or is there any use of this feature?
    George Zou
    http://webspace.webring.com/people/og/gtoolbox
    Attachments:
    Mouse Wheel bug.vi ‏12 KB

    I think what you are seeing is a minor bug introduced by the lack of a "Combo Box Indicator" on the palattes.  You must drop a control then change direction and there appears to be no built in mouse support property written on direction change leaving you with the default mouse wheel support for a control.  Since this is a "windows only" property there might not be an easy way to write the property on direction change without querying App.OS target.  And then what do you do on targets that do not have support for the property?  Change the behavior?  THAT would confuse just about everyone who works with multiple OS's
    The work arounds:
    Use the key navigation page and pay attention to mouse wheel support for indicators
    Add your own combo box indicator to the controls palatte with the right mouse wheel support
    Write a VI Analizer test for "Indicator with mouse wheel support"
    In Short;  this seems like one more thing that can easily trip up a developer.  A VI Analizer test for this could help save us from ourselves.  Consider uploading yours to the VIA Enthusiasts group
    Jeff

  • My mouse wheel is not resizing text like it's supposed to ... how do I fix this?

    BACKGROUND: I'm getting tired of warnings in Seamonkey about sites no longer supporting it, and am considering switching to firefox (with the add-ons that keep the Mozilla look and feel, instead of trying to pretend it's M$ IE (which I wouldn't touch with a 100000000 foot pole).
    Problem #1: I'm used to my mouse wheel resizing text in a tab,
    but for some reason, I can't find the option to enable this in firefox.
    How do I configure this to work properly? I seem to recall an add-on that fixes this, but can't find it now.
    Problem #2: I had an add-on (back when I first tested firefox), that restored Edit-->Preferences, but it's no longer working. Is there another way to put the Preferences option where I'm used to looking for it?
    Thanks,
    --jim

    iOS: Device not recognized in iTunes for Mac OS X

  • Mouse wheel click doesn't open new tabs correctly?

    Since upgrading to FF4, whenever I mouse click a bookmark on my bookmark toolbar, it will open a blank new tab with the URL in the address line, but will not load the page. I have to select the URL in the address line and press enter, or press the green arrow button. Shouldn't web pages automatically load once I mouse wheel click on a bookmark?
    any suggestions?

    Alan McClean has alluded to the cause of this behaviour but I think others would benefit from a full explanation because it doesn't appear to be documented. I might add that Business Objects support were no help at all on this (they suggested I had a problem with my mouse, PC or network which I don't).
    Normal response to a mouse double-click on a document name in InfoView XI3:
    The double-click action performs the default action on the right-click list. This is the option you see in bold when you right-click on a document name. The default action is 'View' document. So when you double-click on the document it opens for viewing.
    In CMC, under Applications>InfoView if you set 'Default viewing action on listing page:' to 'View the latest successful instance of the object' then the double-click behaviour changes:
    The double-click action now tries to open the latest successful instance of a document. I found that any document in my Inbox or any document with instances (e.g. scheduled report) will still open for viewing using the double-click. For any other document the double-click fails silently. I assume this is because there simply isn't a latest instance to open.
    Conclusions:
    1. Don't use the 'View the latest successful instance of the object'. I have reset my CMC setting back to 'View the object'.
    2. I think Business Objects should change the double-click behaviour so that rather than fail silently it opens the document.

  • Scroll with mouse wheel requires multiple "ticks" to start scrolling

    I recently got a new mouse, and now when using firefox the scroll wheel doesn't want to work correctly. Everywhere else I can do single scroll ticks to scroll content, but in firefox a single tick scroll is just ignored as are multiple ticks if done somewhat slow. In order to get firefox to actually scroll with the mouse wheel I have to quickly do a few ticks at once. Doing so makes for very inaccurate control.
    I've tried turning off smooth scroll, hardware acceleration, and pixel scroll, but none of those helped. Any help getting firefox to stop ignoring slow and single scroll ticks would be greatly appreciated.

    Did you check the settings in the mouse driver software in case something has changed?
    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/

  • [X300] Mouse Wheel Scroll Lines Setting does not stick

    I often use an external mouse (no additional driver needed). After every reboot, the setting "Mouse Wheel Scroll Lines" in Control-Panel -> Mouse -> Wheel is reset to 1 (I am using Vista). This is really annoying because it slows down scrolling extremely.
    Does anyone have the same problem?
    I think its caused somehow by the ALPS touchpad driver (The X300 has a really bad one, the Synaptics pads built in previous Thinkpads were WAY BETTER).

    wfaz wrote:
    VPN User ...
    Have you made any progress?  I am having no luck getting the X300 touchpad to scroll with MANY applications: Photoshop, Illustrator, Access to mention some.  I use Windows XP - another user has complained that with Vista he does not getting scrolling to work with iTunes, Live Search.  Plus, wheel events are not handled by the Remote Desktop, so anytime you are tunneling, you don't get touchpad scrolling.  I have been expecting a new UltraNav driver for months - but nothing yet.  I think I have tried every combination of touchpad and trackpoint settings possible, but maybe you know something I don't.
    WFaz
    I am sorry but the problem you describe is a completely different one. Personally, I don' t care for these few applications, especially iTunes and further rubbish. Fact is, the quality Ultranav2 Driver is much much worse compared to the Ultranav1 which uses a Synaptic touchpad. Responsiveness, accuracy, supported applications, bugs are much worse with the Ultranav2 used in X300.
    AFAIK adding applications to support the touchpad needs just adding them to some list in registry or what. But as I said, I never cared for that. The problem that the driver resets mouse settings when using it, I find much more disturbing.

  • Scrolling/mouse wheel improvments (VTE-like) in urxvt

    I like urxvt a lot, but there's one little thing that always annoyed me, especially since I used to use XFCE's terminal which, like (I assume) all VTE-based terminals, behaves differently.
    Like pretty much all other emulators, urxvt supports using the mouse wheel to scroll in the terminal's buffer; But, unlike some others, that is all it does.
    Other (VTE-based) terminals, when running an application that uses the "secondary screen"(*), will disable their scrollbar, and instead you can use the wheel to interact with said application. For example, when in `less` or `man` you can scroll around using the mouse wheel. And it's a really nice thing, because it feels very natural (to me, at least).
    (*) not sure whether this is the "official" term or not, but at least that's how it's called in urxvt.
    And it is the one thing that always annoyed me about urxvt: even in such applications, the mouse wheel will simply scroll through urxvt's own buffer. So I finally decided to grab the source code and have a look, and lucky enough it turned out to be pretty easy to change things.
    Introducing a new option: secondaryWheel (ssw)
    Yeah, that name might not be the best, but it goes along side secondaryScreen (ssc) - which is obviously required for this to work at all - as well as secondaryScroll (ssr) - with which, IMHO, it is somewhat related. So, there you go.
    What this new option does, is pretty simple: when using the mouse wheel, if you're on secondary screen then no scrolling will occur, and instead some (3, to be exact) "fake" keystrokes will be sent to the running application. So, a wheel up will have the same result as pressing the Up key three times, and wheel down will do the same as pressing 3 times the Down key.
    Easy enough, but that does the trick: now when running `man`, `less` or any other application that uses the secondary screen, you can use the mouse wheel to move around (or whatever said application would do, if you pressed the Up/Down keys). It should be noted that I'm not sure this is actually how things are done in VTE-based terminals - I never checked - but this does the job, so it works for me.
    This is just another option (disabled by default), so you can either use it from command-line (ssw), or specify it in your .Xdefaults using it's long-name: secondaryWheel
    Like I mentioned earlier, I believe this option is related to secondaryScroll, as in it works best if you disable it, while enabling secondaryWheel
    That way, not only can you use your mouse wheel to scroll around in those applications, but whatever you do here will not "mess up" your scrolling buffer (on primary screen). That's how I use it, and I really like it that way.
    Less blah, more download
    The modified source code is available on this BitBucket repository. Note that it not only features this patch, but also this great one from rlblaster.
    Or, you can also simply use this PKGBUILD.
    Note: The PKGBUILD includes both patches, and also uses different compilation options (than the official package) to disable utmp/wtmp support and tabbed support. This is mainly because I don't use those, plus I beleive that utmp/wtmp doesn't actually work anyway (it would require setuid to be set, which isn't the case in the official package. Though, I did include the required lines (commented out) in the PKGBUILD; should you want to use it, you can simply uncomment them, and don't forget to change the options as well).
    And of course bug reports, suggestions or any other form of constructive criticism is very much welcome.

    Sorry for the necro-bump, but I found this thread while troubleshooting an issue with scrolling in urxvt.
    This is the precise patch I was looking for, but the link to PKGBUILD in the OP's post is broken.
    Here is the direct link to the AUR package: https://aur.archlinux.org/packages/rxvt … -scrolling
    Also this patch is great. I moved over from Gentoo who includes this patch in the rxvt-unicode ebuild so I never really knew about it.
    Moving to Arch caused some frustration as this patch wasn't included and I had no idea what was wrong.
    Anyway, this package is great and I hope it's maintained forever and ever (or for as long as I use urxvt).

  • Mouse wheel stops scrolling page, and sometimes refresh does not refresh the correct tab, but the first one in the window.

    I have 27 firefox windows open with a grand total of 141 tabs.
    Some times the input is directed to the wrong window. I will click refresh and it will refresh the first tab in a window, but not the tab I am on. Apparently this also happens when I try and use the mouse wheel or the up and down arrow to scroll a page.
    Some times it works correctly on 1 window, but when I switch to another scrolling stops working.
    Usually rebooting the computer helps, but I should not have to do that.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Illustrator CS4 Mouse Wheel Enable

    I'm using Illustrator CS4 - Windows and I'm not able to scroll up and down using the mouse wheel nor can I scroll side to side using the mouse wheel with the ctrl-spacebar.  I'm looking for how to enable this function within Illustrator, but am unable to find it.  Any suggestions?

    No, this stuff is hard-coded and there is no way to enforce anything. If your mouse doesn't behave like a bog-standard Windows mouse, then AI can't use any fancy features. Vertical scrolling is supported everywhere, though, just not horizontal scrolling.
    Mylenium

  • Mouse-Wheel and Forms 10g

    How is it possible to use the mouse-wheel in webforms ?
    e.g. to scroll in a multi-record-block.
    Gerd

    We don't, in general, update already released versions, so no.
    If you absolutely must have a particular fix in a version that has already been released you need to log a one-off request with Support.
    I suggest you upgrade to 10.1.2.2.

  • Mouse Wheel does not work on a Laptop?

    I have written a program to support mouse wheel action in my appplication. (using 1.4.1) This works fine on my desktop PC but on my HP Laptop it is a no go.
    The mouseWheelMoved event doesn't even register on the built-in mouse pad of HP. (I checked it out in debug mode and moving the HP mouse wheel does not generate a mouseWheelMoved event.)
    Any help or insight on this problem is appreciated.
    Thx

    >
    The mouseWheelMoved event doesn't even register on the
    built-in mouse pad of HP. (I checked it out in debug
    mode and moving the HP mouse wheel does not generate a
    mouseWheelMoved event.)
    Maybe it registers as some other mouse event. Have you trying listening and reporting other events?

  • Clicking on mouse wheel no longer opens links in a new tab after upgrading to 8.0.1, how can I fix that?

    I've searched high and low for the answer to this, tried updating my mouse drivers, installed Tab Mix Plus, some greasemonkey scripts, and STILL can't get my mouse wheel to open new links with a click. Any help would be great

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Mouse wheel stop working after upgrade

    Hi. After upgrading my Leopard to 10.5.8 the mouse wheel stop scrolling window content, like web pages. I'd open the mouse control panel and there is a zooming feauture. It's working like this: moving wheel back makes a fast zoom, and moving ahead makes a slow zoom. Both directions make more zoom (slow and fast) and there is no going back but deactivating before desktop reach my nose.
    So I beleive the system is getting wrong the resources of my mouse. Where can I setup this?
    Oh, it's a Microsoft Wireless mouse.

    Yes! I'd install the software pack of the mouse for Mac OS X that adds a control panel at Sistem Preferences and I take control - and the wheel came back!
    But it's not easy finding it in Microsoft.com (in my case: .br). You got to start by hardware products and follow support links, system, etc..
    Thank you for the tip!

Maybe you are looking for