forked from 0x2620/oxjs
fix bugs in video editor; begin to implement new list map mode that allows for defining/clearing places
This commit is contained in:
parent
ae82696600
commit
3c94f44a99
15 changed files with 437 additions and 255 deletions
|
|
@ -396,9 +396,8 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
}
|
||||
|
||||
function isDefined(item) {
|
||||
return self.options.type == 'event'
|
||||
? item.event.start !== ''
|
||||
: item.place.lat !== null;
|
||||
return !!item[self.options.type]
|
||||
&& !!item[self.options.type].type;
|
||||
}
|
||||
|
||||
function removeAnnotation(data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue