@fleetbase/fleetops-engine 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -681,6 +681,15 @@ export default class OperationsOrdersIndexNewController extends Controller {
681
681
  waypoints: this.routePreviewCoordinates,
682
682
  alternativeClassName: 'hidden',
683
683
  addWaypoints: false,
684
+ markerOptions: {
685
+ icon: L.icon({
686
+ iconUrl: '/assets/images/marker-icon.png',
687
+ iconRetinaUrl: '/assets/images/marker-icon-2x.png',
688
+ shadowUrl: '/assets/images/marker-shadow.png',
689
+ iconSize: [25, 41],
690
+ iconAnchor: [12, 41],
691
+ }),
692
+ },
684
693
  router,
685
694
  }).addTo(leafletMap);
686
695
 
@@ -231,6 +231,15 @@ export default class OperationsOrdersIndexViewController extends Controller {
231
231
 
232
232
  this.routeControl = new RoutingControl({
233
233
  waypoints,
234
+ markerOptions: {
235
+ icon: L.icon({
236
+ iconUrl: '/assets/images/marker-icon.png',
237
+ iconRetinaUrl: '/assets/images/marker-icon-2x.png',
238
+ shadowUrl: '/assets/images/marker-shadow.png',
239
+ iconSize: [25, 41],
240
+ iconAnchor: [12, 41],
241
+ }),
242
+ },
234
243
  alternativeClassName: 'hidden',
235
244
  addWaypoints: false,
236
245
  router,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fleetbase/fleetops-engine",
3
3
  "extension": "Fleet Ops",
4
4
  "icon": "route",
5
- "version": "0.1.2",
5
+ "version": "0.1.4",
6
6
  "priority": 0,
7
7
  "fleetbase": {
8
8
  "dashboard": "int/v1/fleet-ops/dashboard"
@@ -39,10 +39,10 @@
39
39
  "test:ember-compatibility": "ember try:each"
40
40
  },
41
41
  "dependencies": {
42
- "@fleetbase/ember-core": "^0.0.7",
42
+ "@fleetbase/ember-core": "^0.0.8",
43
43
  "@fleetbase/ember-ui": "^0.0.8",
44
- "@fleetbase/fleetops-data": "^0.0.4",
45
- "@fleetbase/leaflet-routing-machine": "^3.2.15",
44
+ "@fleetbase/fleetops-data": "^0.0.5",
45
+ "@fleetbase/leaflet-routing-machine": "^3.2.16",
46
46
  "@fortawesome/ember-fontawesome": "^0.4.1",
47
47
  "@fortawesome/fontawesome-svg-core": "^6.4.0",
48
48
  "@fortawesome/free-solid-svg-icons": "^6.4.0",
@@ -59,8 +59,7 @@
59
59
  "leaflet": "^1.9.4",
60
60
  "leaflet-contextmenu": "^1.4.0",
61
61
  "leaflet-draw": "^1.0.4",
62
- "leaflet-rotatedmarker": "^0.2.0",
63
- "socketcluster-client": "^17.1.1"
62
+ "leaflet-rotatedmarker": "^0.2.0"
64
63
  },
65
64
  "devDependencies": {
66
65
  "@ember/optional-features": "^2.0.0",