Coder Social home page Coder Social logo

WPF - Pinch Zoom about greatmaps HOT 4 CLOSED

radioman avatar radioman commented on July 19, 2024
WPF - Pinch Zoom

from greatmaps.

Comments (4)

radioman avatar radioman commented on July 19, 2024 2

p.s. nothing is ignored, it's on the list, if you want to move faster, fork and go ahead

from greatmaps.

bacca87 avatar bacca87 commented on July 19, 2024

Please, send a pull request, but probably it will be completely ignored like the other ones...

from greatmaps.

SkyeHoefling avatar SkyeHoefling commented on July 19, 2024

I am working on cleaning up the code, but I just got pinch zoom effects working in WPF. I had to upgrade the version of .NET to be >= .NET 4.0 so I could access the proper ManipulationDelta Events. After I had access to those events I was super easy to get the delta and apply it to the Zoom property on GMapControl. I'm hoping to have this checked into our fork later today and then I will start creating my pull request.

from greatmaps.

SkyeHoefling avatar SkyeHoefling commented on July 19, 2024

I have this working and we are going to be using it in our fork once the team I am working with approves the Pull Request for the fork. I did my best to create it in a way where it won't break any existing code. Unfortunately a lot of the Map Panning features rely on mouse events that are tied into the core. I did not do a lot of digging (it could just be naming semantics) into the Core project but since we have tightly coupled on mouse vars and events I would say the PR I'll be submitting could be considered a little bit of a hack since I abused the back end in this way. The current touch implementation with the Stylus methods also relies on the mouse vars so I think what I did is okay.

I will provide further documentation on the PR when I submit it here. If anyone is interested in seeing it right now you can view it here surgeforward#2

from greatmaps.

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.