001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.data.gpx; 003 004import java.util.Map; 005 006/** 007 * Interface containing the layer preferences. 008 * Implemented by GpxLayer and MarkerLayer 009 * @since 18287 010 */ 011public interface IGpxLayerPrefs { 012 013 /** 014 * The layer specific prefs formerly saved in the preferences, e.g. drawing options. 015 * NOT the track specific settings (e.g. color, width) 016 * @return Modifiable map 017 */ 018 Map<String, String> getLayerPrefs(); 019 020 /** 021 * Sets the modified flag to the value. 022 * @param value modified flag 023 */ 024 void setModified(boolean value); 025}