Comments (13)
Do you have this problem with the OpenStreetMapViewer app? If not, what are you doing differently? Are you using offline tiles?
from osmdroid.
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.
i've noticed that behavior too. maybe need to manually call refresh on secondary tile ovelrays
from osmdroid.
@spyhunter99, do you know how to refresh the secondary tile ovelray manually?
from osmdroid.
try mapview.invalidate
from osmdroid.
@spyhunter99 ,I modify the source code, add mapview.invalidate() at the end of DefaultOverlayManager.onDraw() method, and solved my problem, thanks.
from osmdroid.
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.
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.
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.
please retry with 5.4.1
from osmdroid.
#496 related
from osmdroid.
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.
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)
- How to support GCJ-02 HOT 7
- Cannot navigate to a fragment after clicking on a marker HOT 1
- .
- Custom ZoomIn and ZoomOut buttons. How to implement custom zoomOut/zoomIn buttons? HOT 2
- Map animating to previous state after a couple of seconds with Jetpack Compose HOT 1
- java.lang.NullPointerException: Attempt to invoke interface method 'boolean org.osmdroid.views.overlay.OverlayManager.add(java.lang.Object)' on a null object reference HOT 2
- IP tracker and ad in wiki HOT 3
- open street map don't display
- TileSourceFactory US aviation maps don't load any more
- Writing and reading data from the real time database for Osmdroid HOT 1
- delete markers
- Animating the movement of a cursor along a polyline with two colors codes: the completed part and the part to do ? HOT 1
- displaying the route and deleting the marker zi database HOT 1
- BingMapTileSource always crash HOT 2
- Some issues when initializing mapsforge
- Zoom changes ignored if performed while an animation is underway HOT 1
- Issue: GroundOverlay bad placement when invalidate map
- GroundOverlay - Draw White Image on Android 11
- Map View throwing Error as Too many receivers, total of 1000, registered HOT 2
- CPU usage continually between 30 and 40% when on a closed network HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmdroid.