@Nullable
    public static MapSource getMapSource(final int id) {
        for (final MapSource mapSource : mapSources.values()) {
            if (mapSource.getNumericalId() == id) {
                return mapSource;
            }
        }
        return null;
    }
Return a map source by id.

@param id the map source id
@return the map source, or <tt>null</tt> if <tt>id</tt> does not correspond to a registered map source
main/src/main/java/cgeo/geocaching/maps/MapProviderFactory.java