Changeset 33128 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2017-01-25T02:07:59+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/ScanexTileSource.java
r32769 r33128 30 30 SPOT("spot", "/TileSender.ashx?ModeKey=tile&MapName=F7B8CF651682420FA1749D894C8AD0F6&LayerName=F51CE95441284AF6B2FC319B609C7DEC"); 31 31 32 private String name;33 private String uri;32 private final String name; 33 private final String uri; 34 34 35 35 ScanexLayer(String name, String uri) { … … 125 125 public ICoordinate xyToLatLon(int x, int y, int zoom) { 126 126 return new Coordinate( 127 tileYToLat( (double)y, zoom),127 tileYToLat(y, zoom), 128 128 osmMercator.xToLon(x, zoom) 129 129 ); … … 141 141 public ICoordinate tileXYToLatLon(int x, int y, int zoom) { 142 142 return new Coordinate( 143 tileYToLat( (double)y, zoom),143 tileYToLat(y, zoom), 144 144 osmMercator.xToLon(x * getTileSize(), zoom) 145 145 );
Note:
See TracChangeset
for help on using the changeset viewer.