Marker estatic and Map Native

Hi, I need to know how you could do this?
please help

This is what I’m trying but nothing

 markersPartida() {
    this.geolocation.getCurrentPosition().then(response => {
      let latitude = response.coords.latitude;
      let longitud = response.coords.longitude;
      this.map.addMarker({
        'position': {
          lat: latitude,
          lng: longitud
        },
        'icon': 'assets/imgs/markersPartida.png',
        'draggable': true,
      }).then(marker => {
        this.map.on(GoogleMapsEvent.MAP_DRAG_END)
          .subscribe(() => {
            marker.on(GoogleMapsEvent.MARKER_DRAG_END)
              .subscribe(() => {
                console.log("Me estoy moviendo :D");
                console.log(marker.getPosition());
                marker
              });
          });
      });
    })
      .catch(error => {
        console.log(error);
      })
  }
this.map.on(GoogleMapsEvent.MAP_DRAG_END)
   .subscribe(() => {
         console.log("Me estoy moviendo :D");
         console.log(marker.getPosition());
   });

is enough.

But the mark remains stuck in my position

Are you talking about the orange dot in your screen capture? If so, that displays your device location. That is not a marker.

OH OH OH no no no the image is the model that I want to implement, currently this is my app

Ah,

<div id="map_canvas" style="position:relarive">
  <img src="pin_marker.png" style="position:absolite;left:0;top:0;width:20px;height:20px;bottom:0;right:0">
</div>

Then

map.on(GoogleMapsEvent.MAP_READY).subscribe(()=>{ 
  map.on(GoogleMapsEvent.MAP_DRAG_END).subscribe(() => {
    console.log(map.getCameraPosition().target);
  });
});

thank’s :smiley: :smiley: