Ignore:
Timestamp:
2010-06-18T16:20:16+12:00 (14 years ago)
Author:
sjm84
Message:

Fixed the "Remove this place" menu item not removing the marker from the map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/atlas-src/trunk/src/org/greenstone/client/GS3MapLibrary.java

    r22277 r22278  
    15931593
    15941594                //If a different place with this name has been chosen then don't use it
    1595                 if ((_chosenPlaces.containsKey(p.getName()) && !_chosenPlaces.get(p.getName()).equals(p)) || _removedPlaces.contains(p.getName()))
     1595                if (_removedPlaces.contains(p.getName()) || (_chosenPlaces.containsKey(p.getName()) && !_chosenPlaces.get(p.getName()).equals(p)))
    15961596                {
    15971597                    continue;
     
    23692369                }
    23702370               
     2371                _map.clearOverlays();
    23712372                addPlacesToMap(_currentPlaces, "#FFFFFF", "#00FF00", false);
    23722373            }
Note: See TracChangeset for help on using the changeset viewer.