-
+
{{ index + 1 }} of {{ total }}
diff --git a/src/app/modules/map/fb-map.component.css b/src/app/modules/map/fb-map.component.css
index 62fda689..d6a53587 100644
--- a/src/app/modules/map/fb-map.component.css
+++ b/src/app/modules/map/fb-map.component.css
@@ -4,33 +4,6 @@
z-index: 4900;
}
-.playbackPanel {
- position: absolute;
- z-index: 4900;
- bottom: 150px;
- left: 10px;
- top: auto;
- width:100px;
- border: gray 1px solid;
- border-radius: 5px;
- background-color: white;
- font-family: roboto;
- text-align:center;
-}
-
-.navdataPanel {
- position: absolute;
- z-index: 4901;
- bottom: 25px;
- left: 0;
- max-width:100%;
- max-height: 100px;
- text-align: center;
- display: flex;
- flex-wrap: nowrap;
- overflow-x: auto;
-}
-
.control {
display: flex;
align-items: center;
diff --git a/src/app/modules/map/fb-map.component.ts b/src/app/modules/map/fb-map.component.ts
index d54b2f90..d0ebf390 100644
--- a/src/app/modules/map/fb-map.component.ts
+++ b/src/app/modules/map/fb-map.component.ts
@@ -18,7 +18,7 @@ import { Convert } from 'src/app/lib/convert';
import { GeoUtils, Position } from 'src/app/lib/geoutils';
import { AppInfo } from 'src/app/app.info';
-import { SettingsMessage } from 'src/app/lib/info/info.service';
+import { SettingsMessage } from 'src/app/lib/services';
import { SKResources } from '../skresources/resources.service';
import { SKOtherResources } from '../skresources/sets/resource-sets.service';
import {
diff --git a/src/app/modules/map/map.module.ts b/src/app/modules/map/map.module.ts
index 98065c17..da2e6fb4 100644
--- a/src/app/modules/map/map.module.ts
+++ b/src/app/modules/map/map.module.ts
@@ -25,9 +25,9 @@ import { RouteNextPointComponent } from './components/navigation';
// ** profiles
import { VesselPopoverComponent } from './components/profiles/default';
-import { FreeboardOpenlayersModule } from 'fb-openlayers';
+import { FreeboardOpenlayersModule } from 'src/app/modules/map/ol';
import { FBMapComponent } from './fb-map.component';
-import { UtilitiesModule } from 'src/app/modules/utils/utils.module';
+import { PipesModule } from 'src/app/lib/pipes';
@NgModule({
imports: [
@@ -37,7 +37,7 @@ import { UtilitiesModule } from 'src/app/modules/utils/utils.module';
MatIconModule,
MatButtonModule,
MatTooltipModule,
- UtilitiesModule,
+ PipesModule,
MatCardModule,
MatMenuModule,
FreeboardOpenlayersModule
diff --git a/src/app/modules/map/mapconfig.ts b/src/app/modules/map/mapconfig.ts
index 155245ea..76a7137d 100644
--- a/src/app/modules/map/mapconfig.ts
+++ b/src/app/modules/map/mapconfig.ts
@@ -61,7 +61,7 @@ export const vesselStyles = {
anchorXUnits: 'pixels',
anchorYUnits: 'pixels',
size: [50, 50],
- scale: 0.75,
+ scale: 0.5,
rotateWithView: false
})
})
diff --git a/projects/fb-openlayers/src/index.ts b/src/app/modules/map/ol/index.ts
similarity index 100%
rename from projects/fb-openlayers/src/index.ts
rename to src/app/modules/map/ol/index.ts
diff --git a/projects/fb-openlayers/src/lib/alarms/layer-anchor-alarm.component.ts b/src/app/modules/map/ol/lib/alarms/layer-anchor-alarm.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/alarms/layer-anchor-alarm.component.ts
rename to src/app/modules/map/ol/lib/alarms/layer-anchor-alarm.component.ts
diff --git a/projects/fb-openlayers/src/lib/alarms/layer-cpa-alarm.component.ts b/src/app/modules/map/ol/lib/alarms/layer-cpa-alarm.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/alarms/layer-cpa-alarm.component.ts
rename to src/app/modules/map/ol/lib/alarms/layer-cpa-alarm.component.ts
diff --git a/projects/fb-openlayers/src/lib/content.component.ts b/src/app/modules/map/ol/lib/content.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/content.component.ts
rename to src/app/modules/map/ol/lib/content.component.ts
diff --git a/projects/fb-openlayers/src/lib/control.component.ts b/src/app/modules/map/ol/lib/control.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/control.component.ts
rename to src/app/modules/map/ol/lib/control.component.ts
diff --git a/projects/fb-openlayers/src/lib/controls.directive.ts b/src/app/modules/map/ol/lib/controls.directive.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/controls.directive.ts
rename to src/app/modules/map/ol/lib/controls.directive.ts
diff --git a/projects/fb-openlayers/src/lib/interactions.directive.ts b/src/app/modules/map/ol/lib/interactions.directive.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/interactions.directive.ts
rename to src/app/modules/map/ol/lib/interactions.directive.ts
diff --git a/projects/fb-openlayers/src/lib/interactions/interaction-draw.component.ts b/src/app/modules/map/ol/lib/interactions/interaction-draw.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/interactions/interaction-draw.component.ts
rename to src/app/modules/map/ol/lib/interactions/interaction-draw.component.ts
diff --git a/projects/fb-openlayers/src/lib/interactions/interaction-modify.component.ts b/src/app/modules/map/ol/lib/interactions/interaction-modify.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/interactions/interaction-modify.component.ts
rename to src/app/modules/map/ol/lib/interactions/interaction-modify.component.ts
diff --git a/projects/fb-openlayers/src/lib/layer.component.ts b/src/app/modules/map/ol/lib/layer.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/layer.component.ts
rename to src/app/modules/map/ol/lib/layer.component.ts
diff --git a/src/app/modules/map/ol/lib/map.component.scss b/src/app/modules/map/ol/lib/map.component.scss
new file mode 100644
index 00000000..da777cb3
--- /dev/null
+++ b/src/app/modules/map/ol/lib/map.component.scss
@@ -0,0 +1 @@
+@import 'ol/ol';
diff --git a/projects/fb-openlayers/src/lib/map.component.ts b/src/app/modules/map/ol/lib/map.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/map.component.ts
rename to src/app/modules/map/ol/lib/map.component.ts
diff --git a/projects/fb-openlayers/src/lib/map.service.ts b/src/app/modules/map/ol/lib/map.service.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/map.service.ts
rename to src/app/modules/map/ol/lib/map.service.ts
diff --git a/projects/fb-openlayers/src/lib/models.ts b/src/app/modules/map/ol/lib/models.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/models.ts
rename to src/app/modules/map/ol/lib/models.ts
diff --git a/projects/fb-openlayers/src/lib/navigation/layer-arrival-circle.component.ts b/src/app/modules/map/ol/lib/navigation/layer-arrival-circle.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/navigation/layer-arrival-circle.component.ts
rename to src/app/modules/map/ol/lib/navigation/layer-arrival-circle.component.ts
diff --git a/projects/fb-openlayers/src/lib/navigation/layer-bearing-line.component.ts b/src/app/modules/map/ol/lib/navigation/layer-bearing-line.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/navigation/layer-bearing-line.component.ts
rename to src/app/modules/map/ol/lib/navigation/layer-bearing-line.component.ts
diff --git a/projects/fb-openlayers/src/lib/navigation/layer-dot.component.ts b/src/app/modules/map/ol/lib/navigation/layer-dot.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/navigation/layer-dot.component.ts
rename to src/app/modules/map/ol/lib/navigation/layer-dot.component.ts
diff --git a/projects/fb-openlayers/src/lib/navigation/layer-xte-path.component.ts b/src/app/modules/map/ol/lib/navigation/layer-xte-path.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/navigation/layer-xte-path.component.ts
rename to src/app/modules/map/ol/lib/navigation/layer-xte-path.component.ts
diff --git a/projects/fb-openlayers/src/lib/overlay.component.ts b/src/app/modules/map/ol/lib/overlay.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/overlay.component.ts
rename to src/app/modules/map/ol/lib/overlay.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-charts.component.ts b/src/app/modules/map/ol/lib/resources/layer-charts.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/resources/layer-charts.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-charts.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-notes.component.ts b/src/app/modules/map/ol/lib/resources/layer-notes.component.ts
similarity index 98%
rename from projects/fb-openlayers/src/lib/resources/layer-notes.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-notes.component.ts
index ba41265e..fa1d7b39 100644
--- a/projects/fb-openlayers/src/lib/resources/layer-notes.component.ts
+++ b/src/app/modules/map/ol/lib/resources/layer-notes.component.ts
@@ -160,7 +160,7 @@ export class NoteLayerComponent implements OnInit, OnDestroy, OnChanges {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class FreeboardNoteLayerComponent extends NoteLayerComponent {
- @Input() notes: Array<[string, SKNote, boolean]>;
+ @Input() notes: Array<[string, SKNote, boolean]> = [];
constructor(
protected changeDetectorRef: ChangeDetectorRef,
diff --git a/projects/fb-openlayers/src/lib/resources/layer-regions.component.ts b/src/app/modules/map/ol/lib/resources/layer-regions.component.ts
similarity index 99%
rename from projects/fb-openlayers/src/lib/resources/layer-regions.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-regions.component.ts
index 7c4fc9ce..a235e7e0 100644
--- a/projects/fb-openlayers/src/lib/resources/layer-regions.component.ts
+++ b/src/app/modules/map/ol/lib/resources/layer-regions.component.ts
@@ -179,7 +179,7 @@ export class RegionLayerComponent implements OnInit, OnDestroy, OnChanges {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class FreeboardRegionLayerComponent extends RegionLayerComponent {
- @Input() regions: Array<[string, SKRegion, boolean]>;
+ @Input() regions: Array<[string, SKRegion, boolean]> = [];
constructor(
protected changeDetectorRef: ChangeDetectorRef,
diff --git a/projects/fb-openlayers/src/lib/resources/layer-resourceset.component.ts b/src/app/modules/map/ol/lib/resources/layer-resourceset.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/resources/layer-resourceset.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-resourceset.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-routes.component.ts b/src/app/modules/map/ol/lib/resources/layer-routes.component.ts
similarity index 99%
rename from projects/fb-openlayers/src/lib/resources/layer-routes.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-routes.component.ts
index eb39c395..9562ca55 100644
--- a/projects/fb-openlayers/src/lib/resources/layer-routes.component.ts
+++ b/src/app/modules/map/ol/lib/resources/layer-routes.component.ts
@@ -182,7 +182,7 @@ export class RouteLayerComponent implements OnInit, OnDestroy, OnChanges {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class FreeboardRouteLayerComponent extends RouteLayerComponent {
- @Input() routes: Array<[string, SKRoute, boolean]>;
+ @Input() routes: Array<[string, SKRoute, boolean]> = [];
constructor(
protected changeDetectorRef: ChangeDetectorRef,
diff --git a/projects/fb-openlayers/src/lib/resources/layer-sktarget-tracks.component.ts b/src/app/modules/map/ol/lib/resources/layer-sktarget-tracks.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/resources/layer-sktarget-tracks.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-sktarget-tracks.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-sktargets.component.ts b/src/app/modules/map/ol/lib/resources/layer-sktargets.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/resources/layer-sktargets.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-sktargets.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-skvessels.component.ts b/src/app/modules/map/ol/lib/resources/layer-skvessels.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/resources/layer-skvessels.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-skvessels.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-tracks.component.ts b/src/app/modules/map/ol/lib/resources/layer-tracks.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/resources/layer-tracks.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-tracks.component.ts
diff --git a/projects/fb-openlayers/src/lib/resources/layer-waypoints.component.ts b/src/app/modules/map/ol/lib/resources/layer-waypoints.component.ts
similarity index 99%
rename from projects/fb-openlayers/src/lib/resources/layer-waypoints.component.ts
rename to src/app/modules/map/ol/lib/resources/layer-waypoints.component.ts
index 802217d2..35c6bb23 100644
--- a/projects/fb-openlayers/src/lib/resources/layer-waypoints.component.ts
+++ b/src/app/modules/map/ol/lib/resources/layer-waypoints.component.ts
@@ -239,7 +239,7 @@ export class WaypointLayerComponent implements OnInit, OnDestroy, OnChanges {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class FreeboardWaypointLayerComponent extends WaypointLayerComponent {
- @Input() waypoints: Array<[string, SKWaypoint, boolean]>;
+ @Input() waypoints: Array<[string, SKWaypoint, boolean]> = [];
constructor(
protected changeDetectorRef: ChangeDetectorRef,
diff --git a/projects/fb-openlayers/src/lib/util.ts b/src/app/modules/map/ol/lib/util.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/util.ts
rename to src/app/modules/map/ol/lib/util.ts
diff --git a/projects/fb-openlayers/src/lib/vessel/layer-vessel-trail.component.ts b/src/app/modules/map/ol/lib/vessel/layer-vessel-trail.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/vessel/layer-vessel-trail.component.ts
rename to src/app/modules/map/ol/lib/vessel/layer-vessel-trail.component.ts
diff --git a/projects/fb-openlayers/src/lib/vessel/layer-vessel.component.ts b/src/app/modules/map/ol/lib/vessel/layer-vessel.component.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/vessel/layer-vessel.component.ts
rename to src/app/modules/map/ol/lib/vessel/layer-vessel.component.ts
diff --git a/projects/fb-openlayers/src/lib/view.directive.ts b/src/app/modules/map/ol/lib/view.directive.ts
similarity index 100%
rename from projects/fb-openlayers/src/lib/view.directive.ts
rename to src/app/modules/map/ol/lib/view.directive.ts
diff --git a/src/app/modules/settings/components/signalk-preferredpaths.component.ts b/src/app/modules/settings/components/signalk-preferredpaths.component.ts
index 6c6a723a..e2f96a57 100644
--- a/src/app/modules/settings/components/signalk-preferredpaths.component.ts
+++ b/src/app/modules/settings/components/signalk-preferredpaths.component.ts
@@ -17,56 +17,33 @@ import { AppInfo } from 'src/app/app.info';
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['./signalk-preferredpaths.component.css'],
template: `
-
-
-
-
-
-
-
{{ item.value.name }}
-
-
-
+
+
+
+
+
{{ item.value.name }}
+
+
+
+
-
- {{ path.split('.').slice(-1) }}
-
-
+ {{ path.split('.').slice(-1) }}
+
-
-
-
-
-
-
-
-
-
-
+
+
`
})
export class SignalKPreferredPathsComponent {
diff --git a/src/app/modules/settings/settings-dialog.css b/src/app/modules/settings/settings-dialog.css
index 5241e18e..974af7f6 100644
--- a/src/app/modules/settings/settings-dialog.css
+++ b/src/app/modules/settings/settings-dialog.css
@@ -23,6 +23,10 @@
min-width: 140px;
}
+.left-settings-menu-button {
+ display: none;
+}
+
.right-settings-content {
margin-left: 140px;
}
@@ -42,6 +46,9 @@ only screen and (min-width : 800px) {
.left-settings-menu {
display: none;
}
+ .left-settings-menu-button {
+ display: initial;
+ }
.right-settings-content {
margin-left: initial;
}
diff --git a/src/app/modules/settings/settings-dialog.html b/src/app/modules/settings/settings-dialog.html
index c54c9bdf..09a55d9e 100644
--- a/src/app/modules/settings/settings-dialog.html
+++ b/src/app/modules/settings/settings-dialog.html
@@ -1,32 +1,28 @@
-
-
-
- {{i.text}}
-
-
-
-
-
- Settings
- Preferred Paths
-
-
-
-
+
+
-