You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using nativescript -vue and like to use custom info window.
As you mentioned it is not working with NS7 or 8 and tried to have alternatives you suggested.
in main.ts
import { MapView } from "nativescript-google-maps-sdk";
Vue.registerElement('MapView', () =>MapView);
If I use <MapView.infoWindowTemplate> then it became a blank and can't do anything.
But with old way mapView.infoWidowTemplate = "Some string as template", the error comes.
Error: Parsing XML at 1:2
System.err: > Module 'GridLayout' not found for element 'GridLayout'.
System.err: > com.tns.NativeScriptException: Failed to find module: "@nativescript/core/ui", relative to: app/tns_modules/
Any updates or any workaround here?
The text was updated successfully, but these errors were encountered:
Woongsik
changed the title
NS8 infoWindowTemplate is not available
NS8 infoWindowTemplate is not working
Jul 30, 2021
If somebody have a suffer from this, try it in main.ts as work around !!
You still can use mapView.infoWindowTemplate = "some string template" like NS6
In main.ts
// From webpack, DefinePlugins
declare let global.TNS_WEBPACK: string;
Hi, I am using nativescript -vue and like to use custom info window.
As you mentioned it is not working with NS7 or 8 and tried to have alternatives you suggested.
in main.ts
import { MapView } from "nativescript-google-maps-sdk";
Vue.registerElement('MapView', () =>MapView);
in component,
If I use <MapView.infoWindowTemplate> then it became a blank and can't do anything.
But with old way mapView.infoWidowTemplate = "Some string as template", the error comes.
Error: Parsing XML at 1:2
System.err: > Module 'GridLayout' not found for element 'GridLayout'.
System.err: > com.tns.NativeScriptException: Failed to find module: "@nativescript/core/ui", relative to: app/tns_modules/
Any updates or any workaround here?
The text was updated successfully, but these errors were encountered: