This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 20th, 2012  |  syntax: None  |  size: 0.34 KB  |  views: 101  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. for(int a=0;a<atms.size();a++){
  2.         int lat = Integer.parseInt(atms.get(a).lat);
  3.         int lng = Integer.parseInt(atms.get(a).lng);
  4.  
  5.         GeoPoint point_atm = new GeoPoint(lat,lng);
  6.         OverlayItem item_atm;
  7.         item_atm = new OverlayItem(point_atm, atms.get(a).name, atms.get(a).info);
  8.         overlay_atm.addOverlay(item_atm);
  9. }
  10. mapOverlays.add(overlay_atm);
clone this paste RAW Paste Data