Changeset 3739 in josm


Ignore:
Timestamp:
Dec 22, 2010 5:03:47 PM (2 years ago)
Author:
Upliner
Message:

initial support for Bing capture date tags, see #5741

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r3733 r3739  
    2727import java.util.LinkedList; 
    2828import java.util.List; 
     29import java.util.Map; 
    2930 
    3031import javax.swing.AbstractAction; 
     
    853854                texty += 1 + fontHeight; 
    854855            } 
     856            Map<String, String> meta = tile.getMetadata(); 
     857            if (meta != null) { 
     858                for (Map.Entry<String, String> entry : meta.entrySet()) { 
     859                    g.drawString(entry.getKey() + ": " + entry.getValue(), p.x + 2, texty); 
     860                    texty += 1 + fontHeight; 
     861                } 
     862            } 
    855863        } 
    856864 
Note: See TracChangeset for help on using the changeset viewer.