Skip to content

Commit

Permalink
Set initial GIS position
Browse files Browse the repository at this point in the history
  • Loading branch information
eloyer committed Feb 3, 2023
1 parent 9cff0bc commit 95a66a9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2094,7 +2094,8 @@ jQuery.AnnoBuilderInterfaceView = function() {
break;

case '3D-GIS':
data = {
var position3D = $.annobuilder.model.mediaElement.getPosition3D();
data = {
action: 'ADD',
'native': $('input[name="native"]').val(),
id: $('input[name="id"]').val(),
Expand All @@ -2112,7 +2113,7 @@ jQuery.AnnoBuilderInterfaceView = function() {
'scalar:end_line_num': '',
'scalar:points': '',
'scalar:position_3d': '',
'scalar:position_gis': '0,0,0,0,0,60'
'scalar:position_gis': me.unparsePositionGIS(position3D).string
};
break;

Expand Down

0 comments on commit 95a66a9

Please sign in to comment.