mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 06:15:11 +03:00
Fix mission control closes #370
This commit is contained in:
parent
47bf5bb7a9
commit
82da156f98
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ TABS.mission_control.initialize = function (callback) {
|
|||
map.getLayers().forEach(function (t) {
|
||||
if (t === selectedMarker) {
|
||||
var geometry = t.getSource().getFeatures()[0].getGeometry();
|
||||
geometry.setCoordinates(ol.proj.fromLonLat([parseFloat($('#pointLat').val()), parseFloat($('#pointLon').val())]));
|
||||
geometry.setCoordinates(ol.proj.fromLonLat([parseFloat($('#pointLon').val()), parseFloat($('#pointLat').val())]));
|
||||
t.alt = $('#pointAlt').val();
|
||||
t.action = $('#pointType').val();
|
||||
t.speedValue = $('#pointSpeed').val();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue