I am building a location based game, a bit like pokemon go.
I am reading the location on my android phone without any problem, but I can't get any location data when I'm developing in the unity editor since Input.location.isEnabledByUser is false in the editor

It would be ok to mock/hard code a location, just so I can try it without deploying to my phone. 

I tried to hard code it like this:

```
LocationInfo ReadLocation(){
    #if UNITY_EDITOR

    var location = new LocationInfo();
    location.latitude = 59.000f;
    location.longitude = 18.000f;
    location.altitude= 0.0f;
    location.horizontalAccuracy = 5.0f;
    location.verticalAccuracy = 5.0f;

    return location;
    #elif
    return Input.location.lastData;
    #endif
}

```

But all of the properties of the location are read only, so I'm getting compilation errors.
Is there a way to enable location service in the editor, or hardcode a location?