Simple Itemized overlay example....

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Simple Itemized overlay example....

Postby arvind » Tue Jun 30, 2009 9:30 am

Im trying to place a picture at a particular point......I used the same code (with my own map key) at http://developer.android.com/guide/tuto ... pview.html
I can see the place but the point is not marked with the image....
Ive copied the image also ... the code is functioning fine... but it does not add image on the Map...
Somebody pls help!!
arvind
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jun 23, 2009 4:44 am
Location: Mumbai,India

Top

Postby shmoula » Thu Sep 17, 2009 2:50 pm

jaaay, I found it!! In ItemizedOverlay implementation you must "boundCenterBottom". Reason I don't know :-(

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. public HelloItemizedOverlay(Drawable defaultMarker) {
  3.  
  4.                 super(boundCenterBottom(defaultMarker));
  5.  
  6. }
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
shmoula
Freshman
Freshman
 
Posts: 3
Joined: Mon Mar 23, 2009 10:08 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests