Questions tagged [itemizedoverlay]
204 questions
1
vote
1 answer
How to implements Marker Lazy Loading from URL in MapView overlay
I have activity which can show overlay. This overlay have markers which gets from web.
How can I implements lazy loading from URL for this markers?
Thx, Igor

ihrupin
- 6,932
- 2
- 31
- 47
1
vote
1 answer
ArrayIndexOutoutBoundsException thrown from ItemizedOverlay.getIndexToDraw
I have an Android app where I display a MapView with an ItemizedOverlay and where I want to allow users to touch the map to add new markers to the overlay. My onTouchEvent method uses an content provider to create a new item for the position…

user921774
- 31
- 3
1
vote
1 answer
Animated overlays for Android
I need to develop animation on map View overlay.
One animation take place when user tap on current location (my current location is my own png) - my overlay should bounce. Second animation take place when overlays appear on map - it should fall from…

Bandzio
- 617
- 2
- 10
- 21
1
vote
2 answers
How to create a custom dialog for a itemized overlay item?
So at the moment when i click an itemized overlay item , i just display a simple dialog, i would like to create something more in the lines of the below
How would i go about doing this for the android phone>?

molleman
- 2,934
- 16
- 61
- 92
1
vote
0 answers
problem while using onTap()
In my app, the requirement is when I touch on any location in map, I have to create a new overlay and show it with a marker and if I tap on any location that is marked, I have to show its details in a balloon.
The onTap() and onTouchEvent() written…

Anju
- 9,379
- 14
- 55
- 94
1
vote
1 answer
Performance problems with ItemizedOverlay.draw()
I have a class:
public class WaypointOverlay extends ItemizedOverlay
It overrides the draw() method of the ItemizedOverlay.
In my Activity, I have a map with many overlay items as well as a list. I noticed from traceviewer output and…

aakash
- 1,001
- 1
- 8
- 10
1
vote
1 answer
ItemizedOverlay only shows FIRST ENTRY
i followed the tutorial on Google Dev to create an ItemSizedOverlay. My idea is to get several positions from an ArrayList called list. So i used a for() to read out the ArrayList list and add the positions to the ItemSizedOverlay called…

user753654
- 11
- 4
1
vote
1 answer
android MapView DrawLine
I am trying to draw some overlay paths on my mapActivity.
This is My ItemizedOverlay Class:
package com.state.park;
import java.util.ArrayList;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Point;
import…

Cory Dawson
- 81
- 1
- 2
- 7
1
vote
1 answer
How to inhabilite the onTap area of the item on a mapview?
i have some items on my map.
Some of them, friends, have to show some info on a dialog when the user press on them. And some of them, my current possition, have to show nothing.
i tryed removing all the code of the onTap function of ImtemizedOverlay…

NullPointerException
- 36,107
- 79
- 222
- 382
1
vote
3 answers
How can I show different markers on a map?
I am displaying markers on a map. I am not sure how I can specify a different drawable resource for different markers?
I would like to show a green pin if locations distance < 50, etc. etc.
pin = getResources().getDrawable(R.drawable.pushpin);
…

Sheehan Alam
- 60,111
- 124
- 355
- 556
1
vote
1 answer
Timers and Maps Android
I'm having some troubles with displaying ItemizedOverlay(s) on a map.
Here I extracted a simplified example of what I need to do.
Here's my Map class:
import java.util.Timer;
import java.util.TimerTask;
import…

urobo
- 786
- 2
- 8
- 19
1
vote
1 answer
how to see two or more layout with android?
hello
I got a project that I need to add one or more layout to my existent layout.
The problem is that I can see only my last layout .
I am using overlay's vector and i'm asure that is not the way to solve this problem
I will be glad if some one…

roey
- 11
- 1
1
vote
2 answers
ItemizedOverlay seems to be drawing with a "broken" projection
I have a strange problem that I don't really know how to attack so I'm wondering if someone has had a similar problem before.
I override the draw(Canvas canvas, MapView mapView, boolean shadow) method in an ItemizedOverlay subclass to draw some…

Ivan Budiselic
- 11
- 4
1
vote
0 answers
Weird shadow behavior for android MapView
I am putting several markers on a MapView by subclassing an ItemizedOverlay. The hitch is that the marker I am passing to the ItemizedOverlay is a custom Drawable. That is to say, I've subclassed "Drawable" and I have overwritten the draw()…

Herm
- 411
- 5
- 14
1
vote
4 answers
Android 2.1 GoogleMaps ItemizedOverlay ConcurrentModificationException
I cannot figure out the origin of the ConcurrentModificationException. In my activity I'm calling
updateMapOverlay(). I'm also calling updateMapOverlay() inside another Thread (a TimerTask) that is invoked on regular intervals. I'm taking the…

Soumya Simanta
- 11,523
- 24
- 106
- 161