plusieurs Geopoint sur la meme Map
Bonjour,
comment faire pour recuperer plusieurs geopoint depuis internet pour l'afficher sur map
je fait ça statiquement
Code:
1 2 3 4 5 6 7 8 9 10
| public List<MapLocation> getMapLocations() {
if (mapLocations == null) {
mapLocations = new ArrayList<MapLocation>();
mapLocations.add(new MapLocation("Avinashi road, Coimbatore",35.780611,10.807342));
mapLocations.add(new MapLocation("Marina Beach, Chennai",35.836825,10.633335));
mapLocations.add(new MapLocation("Taj Mahal, New Delhi",35.52172,11.051788));
// mapLocations.add(new MapLocation("Meenakshi Temple, Madurai",9.9195,78.1208));
}
return mapLocations;
} |