Base class representing an overlay which may be displayed on top of a map.
Questions tagged [android-overlay]
58 questions
0
votes
1 answer
How to overlay a custom drawing over a SurfaceView being used as camera preview?
What I want:
I want to make a Camera Activity (i.e. an Activity which shows the Camera Preview) in which a square shape (it's actually a bit complicated shape but I am saying square for simplicity) is overlay-ed on the camera preview, so that the…

Solace
- 8,612
- 22
- 95
- 183
0
votes
1 answer
How to make all the elements of a RecyclerView, EXCEPT the first element, overlay the rest of the content of Activity?
I have an Activity with a RecyclerView and then a FrameLayout below it. Initially, the RecyclerView has one element which is a LinearLayout, and the rest of the elements will be added at runtime (those will also be LinearLayouts). The first picture…

Solace
- 8,612
- 22
- 95
- 183
0
votes
1 answer
Ovelay image over loaded image in the touched position
I need to add a picture over a touched position in an image or directly on camera preview.
How could get the touch coordinates and set the image in the touched area?
And If I want to move the added images?
What is the right way to code this stuff?…

AndreaF
- 11,975
- 27
- 102
- 168
0
votes
1 answer
Clear and Add overlay on MapView crops the marker for a few seconds
I am developing a taxi pickup drop application. I need to provide a feature to provide alternative pickup and drop points. When I choose pickup point, I need select the pickup point on the mapview. For this I need the marker to change from drop…

Siddharth
- 9,349
- 16
- 86
- 148
0
votes
2 answers
Showing a custom marker on user his position
I am using Google Maps v2 Android MapView. The marker of the position of the user is a blue circle. I want to change this to my drawable.
Is this possible?
I know I can add markers like this but this doesn't apply to the user his own…

Klaasvaak
- 5,634
- 15
- 45
- 68
0
votes
2 answers
android Overlay create failed. Overlay already in use error causing blank camera preview
I am using android SurfaceView to show camera preview in my activity.
On moving to any other application which is playing any video, and on returning back, the preview is blank. I am using android 2.3.3. When I open the logcat it shows the…

DSP
- 487
- 2
- 5
- 18
0
votes
0 answers
Android: how do I use\call custom AlertDialog with MapView Overlays?
Hello and thanks for the help.
I am using the following code to generate a generic AlertDialog on my MapView Overlay (all is working)....I would like to know how or what to change to call a custom AlertDialog called custom.xml
@Override
…

AhabLives
- 1,308
- 6
- 22
- 34
0
votes
1 answer
android maps overlay draw by hand
I did already accomplish to draw lines on my overlay, but how can i draw freestyle!? Not fixed geometries like lines and circles but just draw wherever i want to!?
What i already have is:
public class OverlayMap extends Overlay {
private…

krackmoe
- 1,743
- 7
- 29
- 53
0
votes
2 answers
android mapview balloons - always show all ballons
I am using the android mapview balloons open source
How can i tweak it so it will always show ALL the balloons on the overlay ?
Update:
What i want to achieve is having a list of overlays on the map, each containing the bubble on top of it, with…

programmer
- 3,043
- 1
- 22
- 30
0
votes
1 answer
Zoom and onTap in MapView are mixing, how to solve it?
I got a MapView in my app.
I got many OverlayItems in it with a little drawable mark.
If i touch an overlayitem, the onTap() method runs, and i get a little dialog.
It is works nice, but sometimes when i try to zoom with multitouch, and my finger is…

Adam Varhegyi
- 11,307
- 33
- 124
- 222
0
votes
1 answer
Cannot send a string to another class
i am working with android program here i have two classes PlaceMapActivity and AddItemizedOverlay i want to send a string from PlaceMapActivity to the AddItemizedOverlay class can any one help me to solve this and here is my two…

Hybrid Developer
- 2,320
- 1
- 34
- 55
0
votes
1 answer
Unable to display a map marker with a shadow
I'm using a custom Overlay class to display a marker on a MapView widget. I'm using the same image from another example that I found but my overlay is missing the shadow.
Here's the original:
..and here's mine:
How is that shadow created? Is that…

Mridang Agarwalla
- 43,201
- 71
- 221
- 382
-2
votes
2 answers
How to create an overlay for app as an watermark in Android pragmatically?
I want to make an app in which there will be a watermark that will be shown in every activity including the fragments if it exists. I want to do that programmatically, without any XML for reducing redundant and boilerplate code.
The main purpose of…

Gk Mohammad Emon
- 6,084
- 3
- 42
- 42