Questions tagged [nativescript-google-maps-sdk]

10 questions
3
votes
1 answer

NativeScript Android Build fails with an exception - Unsupported class file major version 57

I have nativescript angular app in which I have implemented following plugins. "@agm/core": "^1.0.0-beta.7", "@angular/animations": "~8.2.0", "@angular/cdk": "^8.2.3", "@angular/common": "~8.2.0", "@angular/compiler": "~8.2.0", "@angular/core":…
1
vote
0 answers

(Nativescript + Google Maps SDK) Polyline gradient color

I'm developing an application over nativescript + vuejs that uses google maps sdk. The main behavior of the app includes draw a route between two geo-points. I'm wondering, how can I draw that polyline with a gradient? The function that renederizes…
1
vote
0 answers

ERROR TypeError: null is not an object (evaluating 'this._icon.imageSource.ios')

I'm trying to get custom marker icon on map. I have used nativescript-google-maps-sdk v^2.9.1 and I'm getting following error. CONSOLE LOG file:///node_modules/@nativescript/core/image-source/image-source.js:306:0: fromResource() is deprecated. Use…
1
vote
0 answers

NativeScript Google Maps SDK - Marker Randomly Jumping W/ Multiple MapViews

This only happens on Android. When you have both Map 1 and Map 2 open, go to either tab and click on a marker to show the "Favor Me" button. If you spam that button, the markers will jump randomly. When the markers are randomly moved, if you scroll…
1
vote
1 answer

NativeScript Google maps java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion

I switched to {N} 5.0, now i have an issue with nativescript-google-map-sdk, same error as here: Android Google maps java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion The issue with Android API 28, there is a…
1
vote
1 answer

Google Maps custom marker icon size not preserved on Android

I'm using the nativescript-google-maps-sdk plugin to create a Google map. Everything works fine but I've got a problem with my custom marker icons, if you look at these pictures you can see that the icon size is not preserved on Android, making…
0
votes
1 answer

Problem with Nativescript 7 angular 8 and nativescript-google-maps-sdk

I'm facing this error when trying to dislay google maps on android emulator, using nativescript 7.2.0 Angular 8 and nativescript-google-maps-sdk 3.0.2 : JS: ERROR Error: Uncaught (in promise): TypeError:…
0
votes
1 answer

Nativescript-google-maps-sdk: mapView.zoom not changing zoom

I am trying to change the zoom level after clicking on a marker. I've tried to redefine the zoom inside the onMarkerEvent() : onMarkerEvent(args) { if (args.eventName === 'markerInfoWindowTapped') { …
0
votes
0 answers

Application crash on some android devices when I took a photo

The application periodically crashes after I take photos. This happens most often on Xiaomi (redmi 3s, redmi 4x) and Nokia (6.1) phones. When you return from the camera, the application restarts itself and writes the following errors in the device’s…
0
votes
2 answers

Issue with Maps SDK for Android

I am fairly new to android app development. Today i tried to implement a map inn my app, and cannot make it work. I even tried to make a new app with the default map activity, which crashes instantly. This is the error I am getting: ---------…
user7561638