Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular OpenLayers如何关闭ion页脚_Angular_Typescript_Ionic Framework_Openlayers - Fatal编程技术网

Angular OpenLayers如何关闭ion页脚

Angular OpenLayers如何关闭ion页脚,angular,typescript,ionic-framework,openlayers,Angular,Typescript,Ionic Framework,Openlayers,我已经打开了图层映射,在ionViewWillEnter()中是一个Select,它调用一个函数在ion footer中显示关于所选功能的信息(功能是从后端动态加载的)。 在map.html中是。我的问题是如何/或在何处将ISINFOPEN设置为false以关闭它 ionViewWillEnter(){ ... this.objectSelect = new Select({ condition: click, style: [] }) this.map.addI

我已经打开了图层映射,在ionViewWillEnter()中是一个Select,它调用一个函数在ion footer中显示关于所选功能的信息(功能是从后端动态加载的)。 在map.html中是
。我的问题是如何/或在何处将ISINFOPEN设置为false以关闭它

ionViewWillEnter(){
...
this.objectSelect = new Select({
      condition: click,
      style: []
    })
this.map.addInteraction(this.objectSelect);
this.onSelectObject();
}
单击地图上的另一个点后,我想将ISINFOPEN设置为false,然后关闭ion footer。 到目前为止,我一直在尝试获取每个单击事件,并在该函数中将其设置为false,但它是在ionViewWillEnter()之后调用的,因此它对我来说无法正常工作

onSelectObject(){
//getting some info about object
this.isInfoOpen = true
}