- Timestamp:
- 2015-02-21T15:39:23+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r8091 r8092 159 159 /** id for this imagery entry, optional at the moment */ 160 160 private String id; 161 /** URL of the imagery service */ 161 162 private String url = null; 163 /** whether this is a entry activated by default or not */ 162 164 private boolean defaultEntry = false; 165 /** The data part of HTTP cookies header in case the service requires cookies to work */ 163 166 private String cookies = null; 164 private String eulaAcceptanceRequired= null; 167 /** Whether this service requires a explicit EULA acceptance before it can be activated */ 168 private String eulaAcceptanceRequired = null; 169 /** type of the imagery servics - WMS, TMS, ... */ 165 170 private ImageryType imageryType = ImageryType.WMS; 166 171 private double pixelPerDegree = 0.0; 172 /** maximum zoom level for TMS imagery */ 167 173 private int defaultMaxZoom = 0; 174 /** minimum zoom level for TMS imagery */ 168 175 private int defaultMinZoom = 0; 176 /** display bounds of imagery, displayed in prefs and used for automatic imagery selection */ 169 177 private ImageryBounds bounds = null; 178 /** projections supported by WMS servers */ 170 179 private List<String> serverProjections; 171 180 /** description of the imagery entry, should contain notes what type of data it is */ 172 181 private String description; 173 /** language of the description entry , "" for tr() result*/182 /** language of the description entry */ 174 183 private String langDescription; 184 /** Text of a text attribution displayed when using the imagery */ 175 185 private String attributionText; 186 /** Link behing the text attribution displayed when using the imagery */ 176 187 private String attributionLinkURL; 188 /** Image of a graphical attribution displayed when using the imagery */ 177 189 private String attributionImage; 190 /** Link behind the graphical attribution displayed when using the imagery */ 178 191 private String attributionImageURL; 192 /** Text with usage terms displayed when using the imagery */ 179 193 private String termsOfUseText; 194 /** Link behind the text with usage terms displayed when using the imagery */ 180 195 private String termsOfUseURL; 196 /** country code of the imagery (for country specific imagery) */ 181 197 private String countryCode = ""; 198 /** icon used in menu */ 182 199 private String icon; 183 200 // when adding a field, also adapt the ImageryInfo(ImageryInfo) constructor … … 316 333 * @param type The entry imagery type. If null, WMS will be used as default 317 334 * @param eulaAcceptanceRequired The EULA URL 335 * @param cookies The data part of HTTP cookies header in case the service requires cookies to work 318 336 * @throws IllegalArgumentException if type refers to an unknown imagery type 319 337 */ … … 769 787 } 770 788 789 /** 790 * Return the data part of HTTP cookies header in case the service requires cookies to work 791 * @return the cookie data part 792 */ 771 793 public String getCookies() { 772 794 return this.cookies;
Note:
See TracChangeset
for help on using the changeset viewer.