Ignore:
Timestamp:
2013-12-22T18:18:43+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #9459 - initialize default center view of MapView to last download location, if any, instead of (0,0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Bounds.java

    r6380 r6509  
    276276     * @return Center of the bounding box.
    277277     */
    278     public LatLon getCenter()
    279     {
     278    public LatLon getCenter() {
    280279        if (crosses180thMeridian()) {           
    281280            double lat = (minLat + maxLat) / 2;
Note: See TracChangeset for help on using the changeset viewer.