title: Location on IOS do not work with geolocation in Ionic
body: <p>I am trying to do this while building build in ionic, but the location is on IOS and does not work with geolocation in ionic 2 app.</p>
  
  <p>I have installed ionic cordova plugin add cordova-plugin-geolocation and</p>
  
  <p>In android devices it is working when the location service is made on. When the location service is made off its not working. In iOS devices both scenarios not working. Need some help!!</p>
  
  <pre><code>import { Geolocation } from '@ionic-native/geolocation';
  </code></pre>
  
  <p>In Providers I have mentioned Geolocation; In home.ts I imported Geolocation.</p>
  
  <p>To get the current location I Have written the following code</p>
  
  <pre><code>getCurrentLocation(){    
      this.geolocation.getCurrentPosition().then((position) =&gt; {
          let loc = {
            placeId: null,
            name:null,
            lat:null,
            long:null,
          }
  
          var lat = position.coords.latitude;
          var lng = position.coords.longitude;
          var latlng = new google.maps.LatLng(lat, lng);
          var geocoder = geocoder = new google.maps.Geocoder();
  }
  </code></pre>