Shadow is upsidedown?

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

Shadow is upsidedown?

Postby mooy » Tue May 11, 2010 11:37 pm

I have a OverlayItem that I add first with this code:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.        point = new GeoPoint(56904630,14772510);  // V‰xjˆ GK
  2.         overlayitem = new OverlayItem(point, "V‰xjˆ Golfklubb", "Home of the
  3. happy");
  4.  
  5.         itemizedOverlay.addOverlay(overlayitem);
  6.  
Parsed in 0.032 seconds, using GeSHi 1.0.8.4


And then with this code. But the shadow looks strange. How can i get the shadow to look like the first one.
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.            OverlayItem o = new OverlayItem(geopoint,text1,text2);
  2.             Drawable d = getResources().getDrawable(drawable);
  3.             d.setBounds(0, 0, 0 + d.getIntrinsicWidth(), 0 +
  4. d.getIntrinsicHeight());
  5.             o.setMarker(d);
  6.             itemizedOverlay.addOverlay(o);
  7.  
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Image
mooy
Freshman
Freshman
 
Posts: 7
Joined: Tue Apr 27, 2010 3:14 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 3 guests