Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49171

Googlemaps panning problem

$
0
0

@mdmc187 wrote:

Hello,

im new to Ionic and im trying to setup a google maps with google maps Javascript v3 API.

My Problem:

for some reason the panning is not working on my android device. If i use my finger to touch the display and try to pan the map, nothing happens. The Google Maps controls are working, for example: i can touch the zoom control to zoom in and out.

Its working in my Chrome Browser.

My Maps View:

> <ion-view>
>     <ion-content>
>         <div id="map" data-tap-disabled="true"></div>
>     </ion-content>
> </ion-view>

The Controller:

> .controller('MapCtrl', function($scope) {

> $scope.map = new google.maps.Map(document.getElementById('map'), {
>     center: {lat: -34.397, lng: 150.644},
>     zoom: 8
>   });
>
> });

Anyone knows how i can fix this ?

Thank you :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49171

Trending Articles



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