Ionic-native-google-maps: fitBounds and panToBounds they are not available. Or is there some way to simulate it?

Created on 11 Oct 2018  路  1Comment  路  Source: ionic-team/ionic-native-google-maps

Most helpful comment

  this.map.animateCamera({
    target: [
       {lat: ..., lng: ...},
       {lat: ..., lng: ...},
       {lat: ..., lng: ...},
       {lat: ..., lng: ...},
       {lat: ..., lng: ...}
   ]

  }).then(() => {
    alert("Camera target has been changed");
  });

>All comments

  this.map.animateCamera({
    target: [
       {lat: ..., lng: ...},
       {lat: ..., lng: ...},
       {lat: ..., lng: ...},
       {lat: ..., lng: ...},
       {lat: ..., lng: ...}
   ]

  }).then(() => {
    alert("Camera target has been changed");
  });
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kiranpatel11 picture kiranpatel11  路  3Comments

chandraahmad picture chandraahmad  路  9Comments

renanmoraes picture renanmoraes  路  8Comments

fadao23 picture fadao23  路  5Comments

MikeWoots picture MikeWoots  路  10Comments