Questions tagged [itemizedoverlay]
204 questions
0
votes
0 answers
how to intent and toast from myItemizedOverlay
i have mapview with custom itemizedoverlay. i put two button at info window. my question is my code at neural button right? i put intent and toast but it didnt show. here is my code. thnx.
public class MyItemizedOverlay extends ItemizedOverlay…

Bas
- 31
- 6
0
votes
2 answers
.add() method in List is not applicable for argument
I'm trying to use mapsforge to do a display maps on my phone.
Currently I'm having slight problems with regards to adding an overlay to display pins. This is the code that gives an error:
ArrayItemizedOverlay itemizedOverlay = new…

lyk
- 1,578
- 5
- 25
- 49
0
votes
1 answer
Null Pointer when Using Itemized Overlay in Android
Hello I am trying to plot a array of lattitude and longitude on Maps using itemized overlay. I am getting the following error .what could be the problem..????
>
03-18 23:52:06.834: W/dalvikvm(2949): threadid=1: thread exiting with uncaught…

Rahul Mehrotra
- 639
- 5
- 15
- 31
0
votes
1 answer
Adding multiple overlays on mapview dynamically
I've a mapView on which I managed to get an overlay onLongPress with the help of GestureListener. What I actually want is, I want to add markers (with same icon) one by one. Like I want to mark different positions on map (not all at once). Any help…

ark
- 553
- 2
- 11
- 19
0
votes
0 answers
Setting a custom icon with OverlayItem.setMarker() - Android
I am trying to set my own custom marker for points on a map but they keep coming out as the marker "defaultIcon"
In my main:
itemizedOverlay = new OurItemizedOverlay(defaultIcon, this);
Add Point to map:
public void…

TomSelleck
- 6,706
- 22
- 82
- 151
0
votes
2 answers
dynamically Change Itemized overlay draw circle using seek bar progress
i m maikng an app using Maps. I m drawing circle on a specific point using itemized overlay
and it works pretty fine. But i want to change the radius of that circle with the seekbar progress value. Can any body guide me to this
Thanks in advance.

Usman Kurd
- 7,212
- 7
- 57
- 86
0
votes
1 answer
How to change GeoPoint of Overlay in ItemizedOverlay for mapView?
I created an MapView with ItemizedOverlays. I need to move some Overlay on the mapView. How to realize this?

user1879118
- 71
- 9
0
votes
1 answer
How to use another class in onTap method in Overlay class?
I asked a question 1-2 days ago, it was answered. My codes are there. This is text link of my question
I added overlays on the map and when I click any overlay, I can get the id of it but there is a problem. I want to get the overlay's id and I want…

mertaydin
- 2,184
- 5
- 19
- 26
0
votes
1 answer
Unable to create OverlayItem on the geoPoint its Keep crushing the application
In my app I am asking user to enter a place in autocomplete textbox I am able to get the location successfully from JSON Object and I successfully extracted the longitude and latitude and created a GeoPoint for these locations. I am having problem…

Aftab Ali
- 201
- 1
- 6
- 16
0
votes
1 answer
Error in adding pins on Google maps
Initially I am able to add the pin on the map.I delete the pin using
mapView.getOverlays().clear();
mapView.invalidate();
Now when I click on addPin button the same code of adding the pin on map runs, but it does not get added on it.
Please…

aagam94
- 613
- 1
- 6
- 20
0
votes
1 answer
How to move overlay item above mapview in android?
I have to get current location continuously and move overlayitem over mapview in android?
I have used following code to get current location for which i have to used different class for getting current location and implemenets its method but i am…

user1856402
- 91
- 7
0
votes
2 answers
confusion between overlay, overlayitem and itemizedoverley
I wanting to create an app which displays a map and on top of this map, the roads and points of interests will be painted as lines and ovals. These lines and ovals will have listeners attached to them so the user can drag them around or delete…

sam
- 2,469
- 8
- 37
- 57
0
votes
1 answer
how to ask an overlay item one the map
I have created an overlayitem list for my activity. But I want add item to the list(for example, I create a button for trigger the event) after I run the application and show the item on the map. How can I do it?

HeikiCyan
- 157
- 1
- 2
- 11
0
votes
1 answer
Display text with no rectangle
I am developing a Android Cell phone application using MonoDevelop for Android and the MapsAndLocationDemo. I am wanting to display some text under each overlay item. I have overridden the Draw method to do this.
Here is my code:
public…

Garry
- 1,251
- 9
- 25
- 45
0
votes
1 answer
Showing a messagebox error
I am using MonoDevelop for Android and am wanting to implement a messagebox.
I am currently trying this code out in the MapsAndLocationDemo.
Here is my code:
public void createMessageBox (string stringQuestion)
{
var builder = new…

Garry
- 1,251
- 9
- 25
- 45