Javascript 尝试使用时出错<;aol源集群>;在ngx openlayers中

Javascript 尝试使用时出错<;aol源集群>;在ngx openlayers中,javascript,angular,openlayers,Javascript,Angular,Openlayers,当我尝试使用时,我得到一个错误:断言失败。看见https://openlayers.org/en/v4.4.2/doc/errors/#10 有关详细信息。 我的代码: <aol-source-cluster *ngIf="isAllMessages" [distance]="distance"> <aol-source-vector> <aol-feature *ngFor="let me

当我尝试使用
时,我得到一个错误:
断言失败。看见https://openlayers.org/en/v4.4.2/doc/errors/#10 有关详细信息。

我的代码:

<aol-source-cluster *ngIf="isAllMessages" [distance]="distance">
     <aol-source-vector>
        <aol-feature *ngFor="let message of messages">
          <aol-geometry-point>
            <aol-coordinate 
              [x]="message.location.coordinates?.coordinates[0][0]" 
              [y]="message.location.coordinates?.coordinates[0][1]" 
              [srid]="'EPSG:4326'"
            ></aol-coordinate>
          </aol-geometry-point>
        </aol-feature>
      </aol-source-vector>
</aol-source-cluster>
你能帮我解决这个错误吗

{
  location: {
    coordinates: {
      coordinates: [
        53.20749479663824,
        56.8433888
      ]
    }
  }
}