In Android devices location of gcs are known from GPS device. I need a feature that show location of gcs device in map and update it.
this feature is need for follow me mode and situations like takeoff and landing in moving boat and ship.
Have your tried Follow Me mode? https://docs.px4.io/v1.9.0/en/flight_modes/follow_me.html
For takeoff or landing in moving boat or target, I wont actually recommend using GPS from GCS as it wont give you accurate results. You can use IR Lock or Fiducial Markers for precision landing https://docs.px4.io/v1.9.0/en/advanced_features/precland.html
For landing in moving target we need a location from gps and then for precision landing we use IR Lock or Fiducial Markers .
This is intresting. There can be multiple ways to do this. One of the way, which I could think of, is by using MAVROS. You can create your own landing_target estimator from GCS location and Marker’s location