Giter Site home page Giter Site logo

Comments (13)

kurtzmarc avatar kurtzmarc commented on July 24, 2024

Do you have this problem with the OpenStreetMapViewer app? If not, what are you doing differently? Are you using offline tiles?

from osmdroid.

secondflying avatar secondflying commented on July 24, 2024

I have the same problem. My problem is that when add another TilesOverlay, then when zoom in or zoom out, the map is incomplete. I move the map then all tile is shown.

from osmdroid.

spyhunter99 avatar spyhunter99 commented on July 24, 2024

i've noticed that behavior too. maybe need to manually call refresh on secondary tile ovelrays

from osmdroid.

secondflying avatar secondflying commented on July 24, 2024

@spyhunter99, do you know how to refresh the secondary tile ovelray manually?

from osmdroid.

spyhunter99 avatar spyhunter99 commented on July 24, 2024

try mapview.invalidate

from osmdroid.

secondflying avatar secondflying commented on July 24, 2024

@spyhunter99 ,I modify the source code, add mapview.invalidate() at the end of DefaultOverlayManager.onDraw() method, and solved my problem, thanks.

from osmdroid.

spyhunter99 avatar spyhunter99 commented on July 24, 2024

although that solution may work, essentially, it should end up calling the
ondraw method again. It may be better to do an overlay scan and look for
overlays that extend tilesoverlay, then force a redraw on those

On Thu, Jan 28, 2016 at 11:04 PM, secondflying [email protected]
wrote:

@spyhunter99 https://github.com/spyhunter99 ,I modify the source code,
add mapview.invalidate() at the end of DefaultOverlayManager.onDraw()
method, and solved my problem, thanks.


Reply to this email directly or view it on GitHub
#52 (comment).

from osmdroid.

ThisIsMyWay avatar ThisIsMyWay commented on July 24, 2024

Is there any solution provided for this problem? Because I propably encountered similar issue and I don't know if I should open new ticket. I described it on stackoverflow. http://stackoverflow.com/questions/35393295/zooming-in-out-some-tiles-not-rendering-osmdroid-offline-maps

from osmdroid.

hlaurent avatar hlaurent commented on July 24, 2024

Having the same issue with MBTiles layers. I can try to solve this as you describe with a mapview.invalidate but I have a related issue where onZoom is not being fired if you do a double or a 2 finger pinch to zoom.

from osmdroid.

spyhunter99 avatar spyhunter99 commented on July 24, 2024

please retry with 5.4.1

from osmdroid.

spyhunter99 avatar spyhunter99 commented on July 24, 2024

#496 related

from osmdroid.

spyhunter99 avatar spyhunter99 commented on July 24, 2024

please retry with the latest version (after reading that related ticket). it may be related to threading and queue sizes. Since this ticket is now very old with no feedback. I'm going to close it. Reopen or comment back if this is still an issue for you @hlaurent

from osmdroid.

RicardoCostaContin avatar RicardoCostaContin commented on July 24, 2024

same to me using 5.6.5. zoom, then move and have a lot gray area. zoon out and in...and shows.using offline map tiles

from osmdroid.

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.