Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Map smooth scrolling

$
0
0

@tux wrote:

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
  }
});

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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