New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create Google Maps custom infoWindow on iOS #564
Comments
I have created a GitHub repo to demo the problem. I modified the code here to catch the Using the new 1.7.1 version of @nativescript/google-maps, I can now at least see a small infoWindow on iOS, but it contains no data. See the screen shots, below... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code works on Android to create a custom infoWindow using the
@nativescript/google-maps
plugin:On iOS, however, the default infoWindow is displayed.
Here's the code in index.ios.ts that raises the
MarkerInfoWindow
event.The problem is that
event.view.ios
is null, and that causes the default infoWindow to be used. The native view needs to be created for the Stackayout returned byonMarkerInfoWindow
.This issue is also discussed in this Discord thread.
The text was updated successfully, but these errors were encountered: