When I select the Pan Map, zoom in, and zoom out tools in the QGIS toolbar (version 2.18.16), I cannot toggle it off after using it. In efforts to toggle a tool from the toolbar off after using it, I have tried clicking the tool again and pressing escape but none works. How do I toggle off a tool like pan or zoom in QGIS?
Thanks in advance.
By default there is always one tool active, so if you want to stop zooming, click the pan tool again or select some other tool.
Related
I need to frequently translate the webpage manually for work purpose. Although not looking for auto-translate options, I need a keyboard shortcut or a handy extension to translate the page. The right click option on google or the google chrome translator extension need multiple clicks in order to translate. The middle mouse button to translate the whole web page would do some good to me.
I tried looking out for extensions out of which context menus was related to my issue. I couldn't figure out how it works.
The right click option on chrome has 7th option for translate page which is not handy. I need it to be the first option on right click or the middle mouse button to translate the google page would help.
I am working on windows and not MAC.
I am currently developing a store finder and in my research I came across this site:
https://www.esprit.com/mobile/storefinder
I was wondering if there is a way to simulate a two finger swipe behavior in dev tools for moving around the map?
What I tried already:
double click and drag
shift and click+drag
I was looking for a way to pan the (Google) map when simulating a touch device in the dev tools on the app I'm working on, since since click + drag brings up the "Use two fingers to move the map" message. It seems the arrow keys will pan the map in this case - I checked and it doesn't seem to work with the app you linked above, but hopefully this will help someone else.
I've been using chrome for about a year steady. About a month back two weird behaviors happened. When I right click anywhere I get a black box. If I remember what the choices are in the box, I can use the arrow keys to select and it works.
The second problem is that when I mouse over anything, I don't get the tool tip text, I get some graphic display that looks like a very tiny version of some distorted text or graphics
Version 44.0.2403.125,
lubuntu
Menu> Settings> Show Advanced Settings > System menu >
Use hardware acceleration when available: turn it off
I am using a Mac Trackpad on a Google Map.
If I two-finger swipe down or up, the map zooms in or out (like it should), but then the entire page scrolls up or down.
I think it has to do with the Trackpad momentum (probably the same on a Magic Mouse).
When I use a normal mouse with a scroll wheel, I don't have the same problem.
I have tried doing things like e.preventDefault() in the scroll listener of the map element, but no luck.
To see an example, just zoom in or out really fast on Google's own demo page: https://developers.google.com/maps/documentation/javascript/examples/map-simple
How do I prevent the entire page from scrolling when I am only trying to zoom the map?
Thank you!
With jQuery try this:
$("#idOfMap").on("wheel mousewheel DOMMouseScroll", function(e){
e.preventDefault();
});
When using jQuery prior 1.7 use bind() instead of on().
Worked fine for me, try downloading MagicPrefs for your trackpad, it gives you much greater preferences regarding the way your trackpad works.
http://magicprefs.com/
I want to modify this extension
https://chrome.google.com/webstore/detail/zoom-on-doubleclick/jkmalmidnicnnmceielaelokkdmmgkcb?hl=en
It zooms on double click. I want it to zoom on two finger double click.
I'm using a macbook trackpad.
Thanks
I dont think this is possible now, Chrome does not support gestures from trackpad now. The only possible workaround is to translate the gesture to rarely used shortcut and handle this shortcut in a fixed version of the extension