diff --git a/CHANGELOG.md b/CHANGELOG.md index e48219b3..98e740d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG: Freeboard +### v2.2.0 + +- **Added**: Ability to center a vessel in the Vessels List. + ### v2.1.0 - **Added**: Ability to limit map zoom to min / max of displayed charts. diff --git a/src/app/app.component.html b/src/app/app.component.html index 9f469e36..5f8b4b26 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -510,6 +510,7 @@ (properties)="featureProperties({ id: $event, type: 'ais' })" (closed)="displayLeftMenu()" (focusVessel)="switchActiveVessel($event)" + (pan)="centerResource($event.center, $event.zoomLevel)" > diff --git a/src/app/modules/skresources/lists/aislist.html b/src/app/modules/skresources/lists/aislist.html index e5a162e1..c413df08 100644 --- a/src/app/modules/skresources/lists/aislist.html +++ b/src/app/modules/skresources/lists/aislist.html @@ -109,12 +109,20 @@ UNFOCUS +