Skip to content

Commit c9cf85b

Browse files
committed
chore: update default bounding box used for observations map (#468)
Updates the bounding box used for the map where there's no data to show. Something I learned via digidem/comapeo-map-server#2 (comment)
1 parent 25fff58 commit c9cf85b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/src/routes/app/projects/$projectId/-map-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const TRACKS_HOVER_SHADOW_LAYER_PAINT_PROPERTY: LineLayerSpecification['paint']
113113
const INTERACTIVE_LAYER_IDS = [OBSERVATIONS_LAYER_ID, TRACKS_LAYER_ID]
114114

115115
const DEFAULT_BOUNDING_BOX: [number, number, number, number] = [
116-
-180, -90, 180, 90,
116+
-180, -85.0511, 180, 85.0511,
117117
]
118118

119119
const BASE_FIT_BOUNDS_OPTIONS: FitBoundsOptions = {

0 commit comments

Comments
 (0)