Skip to content

Commit

Permalink
Don't fly to on line clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 21, 2024
1 parent dfb39b0 commit e5a1492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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

0 comments on commit e5a1492

Please sign in to comment.