question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support float zoomlevel

See original GitHub issue

Hello

I wonder whether there is any plan to add float zoomlevel support?

Sometimes when use two fingers to zoom in/out the map, zoomlevel only change from an int to another int, it seems like the the map is trembling.

I read the source code and I found that the variable which represent zoomlevel is int.

And thanks for your great work on osmdroid.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kjeremycommented, Apr 15, 2016

You could probably use floats and just round to the nearest int for osm sources. Other tile sources use floating zoom levels. As a general comment the lack of floating point in osmdroid is very frustrating if you need to represent anything with cm accuracy.

1reaction
spyhunter99commented, Apr 10, 2016

for what it’s worth, it looks like NASA has been doing some more work on WorldWind for Android. Worth checking out

On Sun, Apr 10, 2016 at 11:51 AM, Aoyang Liao notifications@github.com wrote:

@spyhunter99 https://github.com/spyhunter99 Thanks for your reply and I may try some other ways

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/osmdroid/osmdroid/issues/296#issuecomment-208006277

Read more comments on GitHub >

github_iconTop Results From Across the Web

Float Zoom levels are parsed to int - no incremental zooming
Describe the bug. Setting the zoom level to floating point numbers doesn't work, the onChange is simply fired again parsing the float into...
Read more >
Creating a Map with a Floating Number as Zoom Level Using ...
I am creating a map using mapbox.js using the code below var map = L.mapbox.map('map_canvas',null,{ centre: [4.113028, 30.392318], ...
Read more >
CameraUpdateFactory | Google Play services
Returns a CameraUpdate that shifts the zoom level of the current camera viewpoint. This method is different to zoomTo(float) in that zoom is...
Read more >
Print schedule | Float Help Center
Here's a tip: To fit more weeks onto the printout, adjust your printer's settings or your browser's zoom level (e.g., set the zoom...
Read more >
zoom - CSS: Cascading Style Sheets - MDN Web Docs
Tip: you can click/tap on a cell for more information. Full support: Full support. No support: No support.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found