Skip to content

Commit

Permalink
Merge pull request #456 from dfpc-coe/strokeWidth
Browse files Browse the repository at this point in the history
Fix Stroke Width
  • Loading branch information
ingalls authored Dec 21, 2024
2 parents 4b1fc30 + e5a1492 commit eb83f43
Show file tree
Hide file tree
Showing 6 changed files with 2,486 additions and 2,219 deletions.
2 changes: 1 addition & 1 deletion api/web/src/components/CloudTAK/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ async function updateCOT() {
let featid = locked.value[locked.value.length - 1];
if (featid) {
const feat = cotStore.get(featid);
if (feat) {
if (feat && feat.geometry.type === "Point") {
const flyTo = {
center: feat.properties.center as LngLatLike,
speed: Infinity
Expand Down
4 changes: 2 additions & 2 deletions api/web/src/components/CloudTAK/RadialMenu/RadialMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var DEFAULT_SIZE = 100;
var MIN_SECTORS = 3;
const DEFAULT_SIZE = 100;
const MIN_SECTORS = 3;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
export default function RadialMenu(params) {
Expand Down
1 change: 1 addition & 0 deletions api/web/src/stores/base/cot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const RENDERED_PROPERTIES = [
'course',
'icon-opacity',
'stroke-opacity',
'stroke-width',
'marker-color',
'marker-radius',
'marker-opacity',
Expand Down
Loading

0 comments on commit eb83f43

Please sign in to comment.