Giter Club home page Giter Club logo

Comments (7)

cyrilmottier avatar cyrilmottier commented on August 15, 2024

Are you located in NYC? The sample app has user tracking enabled so once a new fix is received it moves the map to make it visible. That may be a reason.

Do you have a way to make a screencast/video of the strange behavior?

from polaris.

jschmid avatar jschmid commented on August 15, 2024

I am located in Switzerland. It also does it with the GPS off. I don't think this is related.

I think you can easily reproduce it using the steps I gave.

I'll try to make a video tonight.

from polaris.

cyrilmottier avatar cyrilmottier commented on August 15, 2024

@jschmid: Do you have more information on this bug? A video showing the bug in action? The version of your Android? The device you are running Polaris on?

from polaris.

jschmid avatar jschmid commented on August 15, 2024

Sorry, I thought you reproduced it successfully since you tagged it as a bug.

See http://youtu.be/9e3DGYnwjEY
(The video is still processing by the time of writing)

The first click is a normal click.
The second one is the faulty one. You can see that the map goes all the way to the right instead of just going a few pixels to the left.
The third click is a normal one. the map moves to the right so that one can see the callout. I think the same thing should happen on the second click, but it should go to the left, not to the right.

Do you see what I mean?

from polaris.

jschmid avatar jschmid commented on August 15, 2024

This is a galaxy nexus 4.1.2, but i don't think it matters.

from polaris.

cyrilmottier avatar cyrilmottier commented on August 15, 2024

Thank you very much for the video. I can see what you are talking about now.

So, I hate to say that but I think there is no way to fix this bug simply because it is not related to Polaris. It's actually a bug that comes from the Google Maps framework an,d more specifically the animateTo(GeoPoint) method in MapController :(.

See MapViewUtil for more information on it

from polaris.

cyrilmottier avatar cyrilmottier commented on August 15, 2024

Unfixable

Smooth per-pixel scrolling internally uses MapController.animateTo(GeoPoint) which is responsible for the weird animation. No way to fix this.

from polaris.

Related Issues (19)

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.