Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Android crash when google maps is draged

$
0
0

I figured it out! :smiley:
I literally spent hours till I got it. All you have to do is set draggable to true on the markers like this:

var marker = new google.maps.Marker({
position: markerLatLng,
map: map,
title: tempItems[i].name,
draggable: true
});

The problem was only happening on my Nexus 5x, but it worked on an iPhone6, iPhone5c, and the Asus Zendphone2. If this doesn't work, comment out your markers and see if the maps come up at all. For me, it was ONLY the markers that where causing troubles.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>