Changeset 19521 in osm for applications/editors/josm/plugins/slippymap/src
- Timestamp:
- 2010-01-14T22:04:42+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapPreferences.java
r18805 r19521 278 278 } 279 279 } 280 281 282 public static class HaitiImagery extends OsmTileSource.AbstractOsmTileSource { 283 public HaitiImagery() { 284 super("HaitiImagery", "http://gravitystorm.dev.openstreetmap.org/imagery/haiti"); 285 } 286 287 public int getMaxZoom() { 288 return 21; 289 } 290 291 public String getTilePath(int zoom, int tilex, int tiley) { 292 return "/" + zoom + "/" + tilex + "/" + tiley + ".png"; 293 } 294 295 public TileUpdate getTileUpdate() { 296 return TileUpdate.IfNoneMatch; 297 } 298 } 280 299 281 300 public static class Custom extends OsmTileSource.AbstractOsmTileSource { … … 337 356 sources.add(new FreeMapySk()); 338 357 sources.add(new NearMap()); 358 sources.add(new HaitiImagery()); 339 359 sources.addAll(getCustomSources()); 340 360 // Probably need to either add these or let users add them somehow
Note:
See TracChangeset
for help on using the changeset viewer.