-
Notifications
You must be signed in to change notification settings - Fork 164
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
Class constructor View cannot be invoked without 'new' #438
Comments
same.isuse |
This plugin is unfortunately not yet compatible with {N}7. |
Try this soln #433 (comment) 136 let builder = new com.google.android.gms.maps.model.LatLngBounds.Builder(); 143 let cu = com.google.android.gms.maps.CameraUpdateFactory.newLatLngBounds(bounds, padding); 146 var iosMapBounds = GMSCoordinateBounds.alloc().init(); 154 var update = GMSCameraUpdate.fitBoundsWithPadding(iosMapBounds, padding); |
Hi,
is there any way to fix it? I am using Nativescript 7 with angular 10.
ERROR Error: Uncaught (in promise): TypeError: Class constructor View cannot be invoked without 'new'
JS: TypeError: Class constructor View cannot be invoked without 'new'
JS: at MapViewBase [as constructor] (file: node_modules/nativescript-google-maps-sdk/map-view-common.js:128:0)
JS: at new MapView (file: node_modules/nativescript-google-maps-sdk/map-view.android.js:14:0)
JS: at ViewUtil.createView (file: node_modules/@nativescript/angular/fesm2015/nativescript-angular.js:2583:0)
JS: at EmulatedRenderer.createElement (file: node_modules/@nativescript/angular/fesm2015/nativescript-angular.js:2783:0)
JS: at EmulatedRenderer.createElement (file: node_modules/@nativescript/angular/fesm2015/nativescript-angular.js:3000:0)
JS: at elementCreate (file: node_modules/@angular/core/fesm2015/core.js:7143:0)
JS: at Module.ɵɵelementStart (file: node_modules/@angular/core/fesm2015/core.js:14774:0)
The text was updated successfully, but these errors were encountered: