Questions tagged [itemizedoverlay]
204 questions
2
votes
0 answers
setColorFilter on ItemizedOverlay marker Drawable
I have a Drawable (a white circle) that I would like to colorize first, and then use it as a Marker in an ItemizedOverlay i.e. I'd like to use the same Drawable to show a green circle and an orange circle on the map.
Simply using setColorFilter on…

kage0110
- 21
- 5
2
votes
3 answers
itemized overlay tutorial
I am trying to incorporate a map into an app I am developing, so I am learning how to use them with the ItemizedOverlay functionality. I went through the tutorial on dev-android, and everything went fine except this one line.
public class…

Nicholas Pesa
- 2,156
- 2
- 24
- 45
2
votes
1 answer
Create/update map overlays from list of objects
I have an array list containing objects from the class EventOnMap. Every object has (amongs others) the member variables eventLatitude, eventLongitude and eventType. The list is updated regurlarly (e.g. objects are inserted and deleted) up to…

Palund
- 147
- 7
2
votes
2 answers
Android : Google Maps crashes when zooming (more than 1500 icons)
I'd like to display many icons with the Google API (more than 2,000 icons). I created a simple activity, based on this tuto .
It displays without any problem icons when accessing the map. However, when I zoom in/out a few times, a…

johann
- 1,115
- 8
- 34
- 60
2
votes
1 answer
using mutliple drawables on a mapview
I have very limited experience with Mapview, Overlay and ItemizedOverlay. I've seen some simple code examples that use one drawable for overlays and itemizedOverlays but I'm unsure how to approach these requirements: I want more than one drawable…

jpdunn
- 21
- 2
2
votes
1 answer
Create a custom Popup for tapped OverlayItems in a MapView
I've got a working MapView with Overlays on it. I've done the official MapView-Tutorial: http://developer.android.com/guide/tutorials/views/hello-mapview.html
My problem is, that when I click on an icon, a Dialog is opened. Instead of this, I need a…

10ff
- 813
- 4
- 16
- 31
2
votes
2 answers
Loading GeoPoints / Path on MapView is taking forever. Any way to speed it up?
I am working with a custom MapView for an application. I have a database with a LOT of GPS datapoints saved and I am currently loading them using Overlays, then performing an .addAll on the MapView with the Overlays.
However, it is taking up to 2…

John
- 35
- 4
2
votes
1 answer
Android MapView - Extending OverlayItem to store a URL for access in onTap
[Update: Thanks to Craigy's suggestion below, I cleaned up my code a little and added 'final' before the string in onTap, and everything works great!]
I'm trying to store a URL (along with a title and snippet) in a custom OverlayItem on my app's…

geerlingguy
- 4,682
- 8
- 56
- 92
2
votes
3 answers
ANDROID: How make custom view(layout) for marker on Google Maps
How to make custom view for marker or how to make custom layout. like this... and please look at screenshot:

ihrupin
- 6,932
- 2
- 31
- 47
2
votes
1 answer
OverlayItem not updating on location change (OSM)
I am using OSMdroid.
I have managed thanks to this post Adding Overlay to OSMDROID to creata overlay static item on a specific location.
now I am trying to make the map little bit more dynamic. so when the location change the OverLayItem (which…

rayman
- 20,786
- 45
- 148
- 246
2
votes
2 answers
Can panning/zooming be disabled in an android MapView while allowing users to click on an ItemizedOverlay?
Is there a way of disabling panning/zooming and keeping map overlays clickable?
I am specifically thinking about an ItemizedOverlay that I want to be tappable while denying users from moving around the map's viewport (It's for a game).
I've seen the…

Alex Thiel
- 29
- 1
2
votes
0 answers
Add location marker in addition to custom tile overlays android
I am overlaying custom radar weather tiles on top of Google Maps. I'd also like to add a location pin marker in accordance with city the user is viewing weather from. I can't figure out how to have the tiles AND a marker. I can do one or the…

taraloca
- 9,077
- 9
- 44
- 77
2
votes
1 answer
GoogleMaps: custom ItemizedOverlay and OverlayItem, the correct way to show different marker
I've been searching long for clear informations about the right way of extending ItemizedOverlay and OverlayItem, but the result I get does not satisfy me yet.
In a few words, I need to show on a map different kind of markers related to a number of…

e-cal
- 1,661
- 2
- 20
- 28
2
votes
2 answers
Android Starting browser from dialog
I've a mapview that displays an itemized overlay, and each onTap event shows a dialog with information about travel agency and three buttons, one of them is supposed to open the agency web site in the browser, but when i click the button i got : no…

Houssem
- 2,069
- 3
- 27
- 42
2
votes
1 answer
Android Adding new point to a MapView (don't refresh)
I'm working in a Treasure Quest that guides the user through a ruote. I'm having problems
showing my current location in a map where quest points are also showed
I extended ItemizedOverlay
public class QuestItemizedOverlay extends…

pekechis
- 288
- 6
- 18