private Map cloneMarkerMap(Map map) throws CloneNotSupportedException {
  Map clone=new HashMap();
  Set keys=map.keySet();
  Iterator iterator=keys.iterator();
  while (iterator.hasNext()) {
    Object key=iterator.next();
    List entry=(List)map.get(key);
    Object toAdd=ObjectUtilities.deepClone(entry);
    clone.put(key,toAdd);
  }
  return clone;
}

private Map cloneMarkerMap ( Map map ) throws CloneNotSupportedException { Map clone = new HashMap ( ) ; Set keys = map . keySet ( ) ; Iterator iterator = keys . iterator ( ) ; while ( iterator . hasNext ( ) ) { Object key = iterator . next ( ) ; List entry = ( List ) map . get ( key ) ; Object toAdd = ObjectUtilities . deepClone ( entry ) ; clone . put ( key , toAdd ) ; } return clone ; }
a utility method to clone the marker maps .
