I am using in my Nativescript Angular app the nativescript-google-maps-sdk
plugin which works great.
My issue is that I want to use cached images to display in a custom InfoWindow. For this purpose I am using the nativescript-web-image-cache
plugin app-wide. When I use the regular <WebImage>
tag in the infoWindow it complains that it is not a registered component:
Module 'ui/web-image' not found for element 'WebImage'
Everywhere else in the app it works just fine. In this issue is it suggested that:
that InfoWindowTemplate content is parsed as Vanilla NativeScript XML, not as Angular XML thus it is not able to find custom Angular Component you created
So the question is how can I still use this plugin? Is there a way I can somehow register the <WebImage>
component so it will work in the custom InfoWindow?
Just to make sure there is not another issue, I added the nativescript-web-image-cache
plugin to the plain NativesScript nativescript-google-maps-sdk
demo project and then the <WebImage>
tag works just fine.
Any pointers are highly appreciated!