mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-01 23:34:18 -07:00
Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations (#315)
This commit is contained in:
parent
2257627938
commit
5bade764c6
5 changed files with 166 additions and 16 deletions
|
@ -13,7 +13,46 @@ export const GLOBAL_MIN_ZOOM_HIGH = 9;
|
|||
export const GLOBAL_MAX_ZOOM_HIGH = 12;
|
||||
|
||||
// Bounds
|
||||
export const GLOBAL_MAX_BOUNDS = [[-167.276413, 5.499550], [-52.233040, 83.162102]];
|
||||
export const GLOBAL_MAX_BOUNDS = [
|
||||
[-180.118306, 5.499550],
|
||||
[-65.0, 83.162102],
|
||||
];
|
||||
|
||||
export const LOWER_48_BOUNDS = [
|
||||
[-124.7844079, 24.7433195],
|
||||
[-66.9513812, 49.3457868],
|
||||
];
|
||||
|
||||
export const ALASKA_BOUNDS = [
|
||||
[-183.856888, 50.875311],
|
||||
[-140.932617, 71.958797],
|
||||
];
|
||||
|
||||
export const HAWAII_BOUNDS = [
|
||||
[-168.118306, 18.748115],
|
||||
[-154.757881, 22.378413],
|
||||
];
|
||||
|
||||
export const PUERTO_RICO_BOUNDS = [
|
||||
[-67.945404, 17.88328],
|
||||
[-65.220703, 18.515683],
|
||||
];
|
||||
|
||||
export const GUAM_BOUNDS = [
|
||||
[-215.389709, 13.225909],
|
||||
[-215.040894, 13.663335],
|
||||
];
|
||||
|
||||
export const MARIANA_ISLAND_BOUNDS = [
|
||||
[-215.313449, 14.007801],
|
||||
[-213.742404, 19.750326],
|
||||
];
|
||||
|
||||
export const AMERICAN_SAMOA_BOUNDS = [
|
||||
[-171.089874, -14.548699],
|
||||
[-168.1433, -11.046934],
|
||||
];
|
||||
|
||||
export const DEFAULT_CENTER = [32.4687126, -86.502136];
|
||||
|
||||
// Opacity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue