Address Component Slot - PopUp
We have changed the slot for the address component to be ‘popup’ and it works great when a user clicks on the map to open the pop-up. However, how do you ‘close’ the popup.
We have a Map event to Hide the “results summary” when the map position has moved, and it clears the results summary, but the address is still showing.
How do you close the address when it is in a popup slot?
-
Hey Ali VanSickle I think what you want is a
ui.deactivatewith an argument of your address component model.
0 -
Hi Garth,
This doesn't seem to work either. If I use that command, then it works the first time but then deactivates it entirely and the next time I click, the address component does not show again.
0 -
Ah, we may then need to add a corresponding ui.activate to the command chain you are using to open the popup.
0 -
ahhhh.
That's what I was missing. Thanks Gareth!0
Please sign in to leave a comment.
Comments
4 comments