Android: Is it possible to draw a map top view as an overlay

Actually, the question is the question.

I want to draw an overlay view on top of the map, it’s just that my view consists of a linear layout with a 9patch background and two texts inside. I need to draw these layouts at runtime and they will be related to geographic location.

There is no problem to define this kind, but creating a problem with an inscription that will handle such a draw is problematic ...

+3
source share
4 answers

, , , , , , . - , , , - .

+1

- FrameLayout! FrameLayout , , .

MapView FrameLayout LinearLayout .

+6

, .

0
source

Or you can try to use this. It has the same effect: https://github.com/jgilfelt/android-mapviewballoons#readme And you can change it as you want to show any view that you like

0
source

All Articles