I added google maps in my app, and created a marker, but when i open the view, I get my current position on the screen.

What I want is when google maps open, the position to be on the marker.  
 I am using cordova-plugin-geolocation.

UPDATE CODE

```
.controller('mapCtrl', function($scope, $state, $http, $cordovaGeolocation) {
    /// Main map
    this.Tool = function() {
            var markers = [];
    $scope.id= sessionStorage.getItem('product_info_id');
    var str="http://www.manaspp.hol.es/markers.php?product_id="+$scope.id;
        $http.get(str).then(function (response){
          markers = response;
          console.log(markers);
        var records = markers.data.markers;
        for (var i = 0; i < records.length; i++) 
        {
          var record = records[i];   
    var myCenter = new google.maps.LatLng(record.lat, record.lng);
    var mapOptions = {
      center: myCenter,
      zoom: 15,
      disableDefaultUI: true
    };
           $scope.map = new google.maps.Map(document.getElementById("map"), mapOptions);
     google.maps.event.addListenerOnce($scope.map, 'idle', function(){  
            loadMarkers();
         });
        }
     }); 

  // Marker loading use php script
    function loadMarkers(){  
    var markers = [];
    $scope.id= sessionStorage.getItem('product_info_id');
    var str="http://www.manaspp.hol.es/markers.php?product_id="+$scope.id;
        $http.get(str).then(function (response){
          markers = response;
          console.log(markers);
        var records = markers.data.markers;
        for (var i = 0; i < records.length; i++) 
        {
          var record = records[i];   
          var markerPos = new google.maps.LatLng(record.lat, record.lng);

          // Add the markerto the map
          var marker = new google.maps.Marker({
              map: $scope.map,
              animation: google.maps.Animation.DROP,
              position: markerPos
          });
          var infoWindowContent = "<h4>" + record.name + "</h4>";          
          addInfoWindow(marker, infoWindowContent, record);
        }
     });     

     }

     function addInfoWindow(marker, message, record) {

      var infoWindow = new google.maps.InfoWindow({
          content: message
      });

      google.maps.event.addListener(marker, 'click', function () {
          infoWindow.open($scope.map, marker);
      });
    }
    window.location.href = "#/page10";
    }
    })

```