|
Last change
on this file since 13426 was 13382, checked in by pieren, 17 years ago |
|
First commit of the french land registry WMS plugin for JOSM.
|
|
File size:
813 bytes
|
| Line | |
|---|
| 1 | package cadastre_fr;
|
|---|
| 2 |
|
|---|
| 3 | /**
|
|---|
| 4 | * List of possible grab factors each time we call the grab action.
|
|---|
| 5 | * X1 means that only one bounding box is grabbed where X2 means that the current
|
|---|
| 6 | * view is split in 2x2 bounding boxes and X3 is 3x3 boxes.
|
|---|
| 7 | * SQUARE_100M is a special value where bounding boxes have a fixed size of 100x100 meters
|
|---|
| 8 | * and east,north are rounded to the lowest 100 meter as well, thus none of the bounding boxes
|
|---|
| 9 | * are overlapping each others.
|
|---|
| 10 | */
|
|---|
| 11 | public enum Scale {
|
|---|
| 12 | X1("1"),
|
|---|
| 13 | X2("2"),
|
|---|
| 14 | X3("3"),
|
|---|
| 15 | SQUARE_100M("4");
|
|---|
| 16 |
|
|---|
| 17 | /**
|
|---|
| 18 | * value is the string equivalent stored in the preferences file
|
|---|
| 19 | */
|
|---|
| 20 | public final String value;
|
|---|
| 21 |
|
|---|
| 22 | Scale(String value) {
|
|---|
| 23 | this.value = value;
|
|---|
| 24 | }
|
|---|
| 25 | public String toString() {
|
|---|
| 26 | return value;
|
|---|
| 27 | }
|
|---|
| 28 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.