Giter Club home page Giter Club logo

Comments (6)

martenian avatar martenian commented on June 2, 2024 1

Jeff,

This is awesome! Thank you very much for adding that. Works like a charm.

Thanks,

Mike

from jk64-plugin-simplemap.

martenian avatar martenian commented on June 2, 2024

Hi Jeff,

Is there a way for me to disable to two finger panning on mobile devices and require only one finger to move around the map? The setting is referred to as β€œgreedy” on googles api documentation. Not sure how I would integrate this into your existing code.

Appreciate your help.

from jk64-plugin-simplemap.

jeffreykemp avatar jeffreykemp commented on June 2, 2024

Adding the following attributes:

  • Zoom enabled (PL/SQL expression)
  • Pan enabled (PL/SQL expression)
  • Gesture Handling - select one of the following values:

"cooperative": Scroll events and one-finger touch gestures scroll the page, and do not zoom or pan the map. Two-finger touch gestures pan and zoom the map. Scroll events with a ctrl key or ⌘ key pressed zoom the map. In this mode the map cooperates with the page.
"greedy": All touch gestures and scroll events pan or zoom the map.
"none": The map cannot be panned or zoomed by user gestures.
"auto": (default) Gesture handling is either cooperative or greedy, depending on whether the page is scrollable.

from jk64-plugin-simplemap.

jeffreykemp avatar jeffreykemp commented on June 2, 2024

I've added options to implement these features - your feedback will be welcome.

from jk64-plugin-simplemap.

martenian avatar martenian commented on June 2, 2024

Hi Jeff,

Is this option available with the other plugin as well? I tried to carry over the changes you made to the other package but am not able to get it to work. Appreciate your time!

Thanks,

Mike

from jk64-plugin-simplemap.

jeffreykemp avatar jeffreykemp commented on June 2, 2024

Hi Mike, good idea, I'll raise this on the reportmap plugin as well.

from jk64-plugin-simplemap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.