Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Cant Show Multiple Markers on Google Maps

Cant Show Multiple Markers on Google Maps

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

Cant Show Multiple Markers on Google Maps

Postby raihan26 » Sat May 01, 2010 6:08 pm

I am trying to insert Multiple Marker on the google map but I am not able to do... Can anybody let me know what wrong i am doing...
this is my below code..
Please anyone shed some light on this...


Code: Select all
class InterestingLocations extends ItemizedOverlay { 
         private List<OverlayItem> locations = new ArrayList<OverlayItem>(); 
   
   
   
   
   
         private Drawable marker; 
         public InterestingLocations(Drawable marker) 
         { 
         super(marker); 
         this.marker=marker; 
         // create locations of interest 
           
           
           
           
           
         for(int y=0;y<value2;y++) 
         { 
         
       Log.i(TAG, "Sorted Distance_23: " + "|"+distance[y][2] +"|"+ distance[y][3] +"|"+s1[y] ); 
           
       double latitude = 0; 
       try 
       { 
            latitude = (double)(distance[y][2]); 
       } 
       catch(Exception e) 
       { 
       } 
       double longitude = 0; 
       try 
       { 
            longitude = (double)(distance[y][3]); 
       } 
       catch(Exception e) 
       { 
       } 
         
       GeoPoint a = new 
         GeoPoint((int)(latitude),(int)(longitude)); 
         //GeoPoint disneySevenLagoon = new 
         //GeoPoint((int)(28.410067*1000000),(int)(-81.583699*1000000)); 
       OverlayItem overlayitem = new OverlayItem(a, "", ""); 
         locations.add(new OverlayItem(a , 
         "Data", "Data")); 
         //locations.add(new OverlayItem(disneySevenLagoon , 
         //"Seven Lagoon", "Seven Lagoon")); 
         populate(); 
           
         } 
         }   
raihan26
Freshman
Freshman
 
Posts: 3
Joined: Sat Apr 17, 2010 11:56 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 4 guests