Search code examples
iosgoogle-maps-sdk-ios

Change user location in GMSMapView


I want to set a custom user location in GMSMapView. The locations is based on iBeacons. Does anyone have an idea how to achieve this?


Solution

  • I don't think you can change user location.

    There are two options though:

    1. Use a custom marker (annotation) that acts as a user location.

    2. You can implement GPS Spoofing where you can simulate the user current location. See this How to set fake GPS location on IOS real device