Quantcast
Viewing all articles
Browse latest Browse all 229967

Map smooth scrolling

Hello!

I'm using Google Maps Native SDK v2 plugin.
I solved issue with side menu (using workaround to hide it).
But there are currently problem with scrolling.
Scrolling is glitched and not smooth.

How to deal with it?

To test create view like this and init map in #mapholder

<ion-view view-title="Test">
  <ion-content>

    <div style="width: 100%;height: 500px;">

    <div id="mapholder" style="height: 200px; width: 100%" data-tap-disabled="true"> </div>

    <div style="width: 100%;height: 300px;">

  </ion-content>
</ion-view>

In controller

var div = document.getElementById("mapholder");

map = plugin.google.maps.Map.getMap(div,{
  'controls': {
    'compass': true,
    'myLocationButton': true,
    'indoorPicker': true,
    'zoom': true
  }
});

Viewing all articles
Browse latest Browse all 229967

Trending Articles



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