Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

having trouble to set tile overlay to display city name. #307

Closed
snowle0pard opened this issue May 5, 2016 · 2 comments
Closed

having trouble to set tile overlay to display city name. #307

snowle0pard opened this issue May 5, 2016 · 2 comments

Comments

@snowle0pard
Copy link

when i setting another tile overlay to display city name,the map was covered,and turn out a white background.The tile i use is in png picture. any suggestion for that?

@spyhunter99
Copy link
Collaborator

spyhunter99 commented May 5, 2016

Set your second tile overlay background color to transparent. i had an
example somewhere but i can't find it at the moment.

On Thu, May 5, 2016 at 5:39 AM, snowle0pard notifications@github.com
wrote:

when i setting another tile overlay to display city name,the map was
covered,and turn out a white background.The tile i use is in png picture.
any suggestion for that?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#307

@spyhunter99
Copy link
Collaborator

https://github.com/osmdroid/osmdroid/blob/master/osmdroid-android/src/main/java/org/osmdroid/views/overlay/TilesOverlay.java#L313

That's about the best we can do on this end. the rest has to do what the tiles look like (if they have transparency or not).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants