Changeset 18741 in osm for applications/editors/josm/plugins/slippymap
- Timestamp:
- 2009-11-22T19:12:22+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
r18355 r18741 252 252 } 253 253 254 public static class NearMap extends OsmTileSource.AbstractOsmTileSource { 255 public NearMap() { 256 super("NearMap Australia", "http://www.nearmap.com/maps/hl=en&nml=Vert&"); 257 } 258 259 public int getMaxZoom() { 260 return 21; 261 } 262 263 public String getTilePath(int zoom, int tilex, int tiley) { 264 return "z=" + zoom + "&x=" + tilex + "&y=" + tiley; 265 } 266 267 public TileUpdate getTileUpdate() { 268 return TileUpdate.IfNoneMatch; 269 } 270 } 271 254 272 public static class Custom extends OsmTileSource.AbstractOsmTileSource { 255 273 public Custom(String name, String url) { … … 309 327 sources.add(new FreeMapySkPokus()); 310 328 sources.add(new FreeMapySk()); 329 sources.add(new NearMap()); 311 330 sources.addAll(getCustomSources()); 312 331 // Probably need to either add these or let users add them somehow
Note:
See TracChangeset
for help on using the changeset viewer.