source: osm/applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffset.java@ 27986

Last change on this file since 27986 was 27986, checked in by zverik, 12 years ago

imagery_offset_db initial commit

File size: 874 bytes
Line 
1package iodb;
2
3import org.openstreetmap.josm.data.coor.LatLon;
4
5/**
6 * An offset.
7 *
8 * @author zverik
9 */
10public class ImageryOffset extends ImageryOffsetBase {
11 private LatLon imageryPos;
12 private String imagery;
13 private int minZoom, maxZoom;
14
15 public ImageryOffset( String imagery, LatLon imageryPos ) {
16 this.imageryPos = imageryPos;
17 this.imagery = imagery;
18 this.minZoom = 0;
19 this.maxZoom = 30;
20 }
21
22 public void setMaxZoom(int maxZoom) {
23 this.maxZoom = maxZoom;
24 }
25
26 public void setMinZoom(int minZoom) {
27 this.minZoom = minZoom;
28 }
29
30 public LatLon getImageryPos() {
31 return imageryPos;
32 }
33
34 public String getImagery() {
35 return imagery;
36 }
37
38 public int getMaxZoom() {
39 return maxZoom;
40 }
41
42 public int getMinZoom() {
43 return minZoom;
44 }
45}
Note: See TracBrowser for help on using the repository browser.