Comments (3)
It looks like this is because I was using hardware rendering. When I switched back to software it started to work. I'm not sure if this is a bug in Android or Osmdroid.
from osmdroid.
OpenStreetMapViewer is using HW-acceleration and it draws with transparency. I would try the SampleOsmPath to see if that transparency works for you.
(or in other words, it is a goal to have osmdroid work with hardware acceleration so if this doesn't work it is a bug)
from osmdroid.
I did some exploration and HW acceleration works for me to a point. When I draw 4 or 5 overlapping transparent polygons things start to get weird. I'm also working in a very zoomed in area and I wonder if that exacerbates the issue (say 100m by 100m). I went back to software and that seemed to fix the issue for me.
from osmdroid.
Related Issues (20)
- One-finger zoom in and out HOT 2
- Is JDK17 supported? HOT 2
- TileLooper calculates wrong number of required tiles when map repetition is disabled HOT 3
- 89°.29".10' HOT 1
- Map View is not displaying the offline map HOT 4
- Create mapSnapShot app crashed
- osmdroid-mapsforge: Unable to add marker and draw poly line on the map HOT 2
- 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
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.