AnsweredAssumed Answered

Uncaught TypeError: cannot read property 'geometry' of undefined

Question asked by ibrahimd13 on Nov 28, 2016
Latest reply on Nov 28, 2016 by rscheitlin

Hi,

  I'm searching on layers using Enhanced Search widget. After I searched, Results will come in the "Results" Tab of Enhanced Search widget(screenshot: 1). When I click on the 1st resulted item, infoWindow is showing properly without any error in the console. But when I click on the other resulted items(other than the 1st resulted item i.e., 2nd, 3rd, and so on...), it's not showing the infoWindow and it's showing this error in the console. Error: Uncaught TypeError: cannot read property 'geometry' of undefined(Screeshot: 2)

 

Screenshot: 1 (i'm getting the infoWindow here - this is the 1st Resulted Item)

 

Screenshot: 2 (Not getting the infoWindow for the resulted items except the 1st resulted item)

 

 

Please suggest me, because of what I'm getting this error.

 

Regards,

Ibrahim.

Outcomes