title: Maker is not drawing after updating lat long in angularjs
body: <p>I am using <a href="http://angular-ui.github.io/angular-google-maps/#!/" rel="nofollow noreferrer">http://angular-ui.github.io/angular-google-maps/#!/</a> for google map but the marker is drawing only at the first time. If I update the lat-long then the only map is shifting not the marker.</p>
  
  <p>Here is my code : (Current Location)</p>
  
  <pre><code>navigator.geolocation.getCurrentPosition((position) =&gt; {
        vm.latitude_obj=position.coords.latitude;
        vm.longitude_obj=position.coords.longitude;
      });
            vm.map={center: {latitude: '28.454035292774627', longitude: '77.02379857578137' }, zoom: 12 };
            vm.options={scrollwheel: false};
            vm.marker = {
                id: 0,
                coords: {
                    latitude: 28.454035292774627,
                    longitude: 77.02379857578137
                },
                options: { draggable: true },
                events: {
                    dragend: function (marker, eventName, args) {
                        var lat = marker.getPosition().lat();
                        var lon = marker.getPosition().lng();
                        }
                    }
                };
  </code></pre>
  
  <p>After updating Location :</p>
  
  <pre><code>vm.map = {center: {latitude: vm.latitude_obj, longitude: vm.longitude_obj }, zoom: 12 };
              vm.options = {scrollwheel: false};
              vm.marker = {
              id: 0,
              coords: {
                  latitude: vm.latitude_obj,
                  longitude: vm.longitude_obj
              },
              options: { draggable: true },
              events: {
                  dragend: function (marker, eventName, args) {
                      vm.lat = marker.getPosition().lat();
                      vm.lon = marker.getPosition().lng();
                      $scope.vm.listingModal.latitude=vm.lat;
                      $scope.vm.listingModal.longitude=vm.lon;
                      vm.locationSelected='Location Changed to '+vm.lat+', '+vm.lon;
                  }
              }
              };
  </code></pre>
  
  <p>In this code map is moving from current location to new location but marker is not.
  Can someone tell me what I am doing wrong.</p>
  
  <p>Thanks in advance. Happy Coding</p>