Map disappearing after search for nearby items, is this expected or am I doing something wrong? #79
Unanswered
GaiusCoffey
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm making progress, I think. :)
Anyway, I have a setup where I display a map to a specified coordinate and then offer a search field using the "places" library to find nearby things. It works well, returns the correct items, that I can display correctly in the correct location and so on.
Except...
When I do the search, the map just vanishes. (I don't even need to do anything with the result.)
In order to redisplay the map with the newly loaded markers, I literally toggle a bound parameter using
v-if="showMap"
Does anybody know why this might happen?
FYI, here is the code I use to obtain the search result:
Beta Was this translation helpful? Give feedback.
All reactions