Fixed
Status Update
Comments
he...@gmail.com <he...@gmail.com> #2
This would be useful
br...@google.com <br...@google.com> #3
We have added this capability in version 1.13. Thanks for the suggestion!
fu...@gmail.com <fu...@gmail.com> #4
Are such dynamic infoWindows interactive? So can I return a UIView including a UIButton?
br...@google.com <br...@google.com> #5
No, sorry. I understand the desire, but it is harder than it looks.
Google Maps is an OpenGL context. The feature released in 1.13 keeps track of changes in your UIView, and propagates those changes into the OpenGL context as an updated screen capture image that the OpenGL pipeline can then render to the screen.
To make a UIView interactive would involve mapping screen interaction backwards through the OpenGL pipeline, and then forging UI events, to say click buttons or generate swipe gestures.
Google Maps is an OpenGL context. The feature released in 1.13 keeps track of changes in your UIView, and propagates those changes into the OpenGL context as an updated screen capture image that the OpenGL pipeline can then render to the screen.
To make a UIView interactive would involve mapping screen interaction backwards through the OpenGL pipeline, and then forging UI events, to say click buttons or generate swipe gestures.
fu...@gmail.com <fu...@gmail.com> #6
Wouldn't it be possible to put the infoWindow in a separate UIView that is simply layered on top of the GL view but is scrolled in sync?
That's actually what I'm doing right now but it's much harder to keep the scrolling perfectly in sync using the delegate callbacks than it would be for you guys, I guess.
That's actually what I'm doing right now but it's much harder to keep the scrolling perfectly in sync using the delegate callbacks than it would be for you guys, I guess.
br...@google.com <br...@google.com> #7
We can't keep the UIView in sync with the OpenGL display, which is why we implemented it this way.
Description
This UIImageView loads images dynamically through a URL using SDWebImage.
As the documentation says about marker info windows:
Note: The info window is rendered as an image each time it is displayed on the map. This means that any changes to its properties while it is active will not be immediately visible. The contents of the info window will be refreshed the next time that it is displayed.
The point is that after downloading the image the info window doesn't refresh and keep showing the placeholder image until user hides then show it back again..
So I need to force refresh the contents of the markerInfoWindow in the block of image downloaded..