popup location

350
5
08-05-2019 11:13 PM
anjelinaponkerat
Occasional Contributor II

Hi

I,m using search widget in 4.12, when search widget find results and show popup, the popup location is not correct and is far from best location!!! why?

I sent a sample that show this incorrect location:

0 Kudos
5 Replies
ThanHtetAung_EsriAu
Esri Regular Contributor

Hi Angelina,

Do you have subsequent code which effect change camera object point location after search widget result return?

0 Kudos
RalucaNicola1
Esri Contributor

Hi Angelina, could you post a code snippet? There's a lot of things that could go wrong, so it's hard to tell what's going on. Another thing to try is if it works in 4.11.

0 Kudos
anjelinaponkerat
Occasional Contributor II

Hi

It was ok in 4.11, But in version 4.12 this problem appeared. why?

regards

0 Kudos
RalucaNicola1
Esri Contributor

I can't reproduce it (here is my sample where it works: https://codepen.io/ralucanicola/pen/OKZJKe?editors=1000). If it worked on 4.11 it means it might be a bug on our side or an intended change. It would be super helpful if you could post a code snippet of how you are using the search widget so we can reproduce it and get it fixed and provide you a workaround if possible. Does the point layer have any elevation offset?

0 Kudos
ChrisShaw
New Contributor

Hello,

The problem is still present in the example you posted. For example, click on any point, then zoom into the map.

ChrisShaw_0-1606287543792.png

 

0 Kudos