diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-10 21:47:58 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:00 +0200 |
| commit | 8bd2bc91cc7e97f233031a42ccfda92af5e8bb96 (patch) | |
| tree | b2e4b127580140f3cb025af4d4490e8434ad63a7 /src/components/map/MapConstants.js | |
| parent | 540bb00a64e4704a0c08459af2b158bdafd59a60 (diff) | |
Implement map zooming
Diffstat (limited to 'src/components/map/MapConstants.js')
| -rw-r--r-- | src/components/map/MapConstants.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/map/MapConstants.js b/src/components/map/MapConstants.js index d776901e..f24e450f 100644 --- a/src/components/map/MapConstants.js +++ b/src/components/map/MapConstants.js @@ -15,6 +15,9 @@ export const RACK_FILL_ICON_WIDTH = OBJECT_SIZE_IN_PIXELS / 3; export const RACK_FILL_ICON_OPACITY = 0.8; export const MAP_MOVE_PIXELS_PER_EVENT = 20; +export const MAP_SCALE_PER_EVENT = 1.1; +export const MAP_MIN_SCALE = 0.5; +export const MAP_MAX_SCALE = 1.5; export const MAX_NUM_UNITS_PER_MACHINE = 4; export const DEFAULT_RACK_SLOT_CAPACITY = 42; |
