Questions tagged [itemizedoverlay]
204 questions
0
votes
1 answer
Display text under overlay item
I am using MonoDevelop for Android with Google maps and overlays.
My question is this: How can I add a brief section of text under each overlay item?
This is the code I normally use to display text:
var toast = Toast.MakeText (this, "Test",…

Garry
- 1,251
- 9
- 25
- 45
0
votes
1 answer
MapView marker slightly moves when zooming out
I'm using Google Map for my application. Using the exact code in this guide from Google itself, I managed to put a marker on the map using ItemizedOverlay.
But when I zoom out, the marker slightly moves to the left. The Circle Radius Overlay stay…

hrsetyono
- 4,474
- 13
- 46
- 80
0
votes
1 answer
About ItemizedOverlay
MainActivity
onCreate:
List listOfOverlays = mapView.getOverlays();
listOfOverlays.add(myItemizedOverlay); //List of myItemizedOverlay is empty
Later I add and remove items from myItemizedOverlay.
When List of…

user1464440
- 37
- 5
0
votes
1 answer
adding Geopoints to ItemizedOverlay array failed
I've been trying to add my GeoPoints to the itemizedOverlay Array in order to draw the points on the map. Unfortunately, the app crashing at this point.
My Code:
package com.example.phooogle;
public class GoogleMapsAppActivity extends MapActivity…

iAziz
- 149
- 1
- 1
- 12
0
votes
4 answers
Android HelloGoogleMaps to OSMdroid (Open Street Maps)
I am trying to reproduce a working HelloGoogleMaps app in Open Street Maps - but I have trouble including the itemized overlay in OSMdroid.
I have looked at several resources but I cannot figure out how to fix the error on OsmItemizedOverlay - I…

birgit
- 1,121
- 2
- 21
- 39
0
votes
1 answer
Android starting a google maps intent from within a dialog
I am using the google maps api with overlay items and want to be able to get directions when the user clicks these overlays.
I want this linked to the middle button of my dialog:
// Middle button
dialog.setNeutralButton("Directions",
…

EHarpham
- 602
- 1
- 17
- 34
0
votes
1 answer
Android Overlays for drawing shapes in Google Maps
I want to draw several shapes (over 40) for separated zones in a city and I am not sure what is the best way to do this. I am considering drawing the shapes using:
ItemizedOverlay.
Overlay: One overlay for all shapes.
Overlays: One overlay for each…

jgonza73
- 344
- 1
- 10
0
votes
1 answer
android LocationListener, cannot display the location on map
I have the following source code and when I use locationListener I am not getting pushpin on the map. however, if i am not using the location listener everything works perfectly. Please need your help
package com.example.googlemaps;
import…

user1582256
- 31
- 1
- 4
0
votes
1 answer
Android MapView marker shadows move after activity resumes
I have a MapView, with various markers on it. On entering the MapActivity the first time, I set the bounds of drawables set on the markers, and everything appears fine. The markers and shadows all appear correctly. But when I click over to another…

broadbear
- 614
- 8
- 19
0
votes
2 answers
ItemizedOverlay OnTap() not firing
I've defined a map overlay, and I can display markers without issue. I'm now trying to get something to happen when I tap one, but the event never seems to fire. I'm sure I'm missing something obvious...
public class MapBlobCollection extends…

James
- 999
- 2
- 11
- 22
0
votes
1 answer
Android Google MapView Persisting Itemized Overlay onPause
When working with Android Google MapView, how can I get the Itemized Overlay (multiple markers) to persist when I move into a Pause state. I understand how to use onSaveInstanceState, but how does one do this on an overlay?

orion
- 89
- 2
- 7
0
votes
3 answers
android, google map errors: BaseTileRequest, Server returned: 3
I got some strange errors while develop some custom map overlays, anyone experience these? pls help, tks in…

EyeQ Tech
- 7,198
- 18
- 72
- 126
0
votes
1 answer
android, customized ItemizedOverlay
There is already an overlay, drawing something on a map view. I want to add another overlay and a customized item to the map view. Nothing shows. What's wrong with my code? Thanks heaps.
My sub-class of ItemizedOverlay
public class…

EyeQ Tech
- 7,198
- 18
- 72
- 126
0
votes
1 answer
Hiding balloons on tap on MapView
I have a MapView with 3 different ItemizedOverlays that act with a similar behavior. They all work alright, but they only respond to taps on the items, they do nothing if I tap the map. Setting a OnClickListener on the MapView has proven to be…

Charlie-Blake
- 10,832
- 13
- 55
- 90
0
votes
2 answers
Determine drawn Rect from Canvas (Determine position of OverlayItem)
I'm trying to just draw visible OverlayItems, thats why I determine the maps visible rect but I'm not able to determine the Rect where the Canvas will draw the OverlayItem.
Thats what I did till now (method in itemized overlay).. but the…

lukaswelte
- 2,951
- 1
- 23
- 45