Hey, it's been two days I'm fighting with different codes.
So after countless builds and modifications, I can tell a few things.
First,in Xcode, I always get the http warning if I try to use something like OpenStreet.
Second, I need to have my exact gps position, and for that I use this code:
Vector2 gpsPos;
GameObject map;
gpsPos = map.GetComponent<OnlineMapsLocationService>().position;
As I said previously, it works with "Find location by IP" but it's not accurate enough for my game, and when it is disabled, I only get 0,0 from the gps.
So obviously the problem, I think, is that I always have 0,0 gps coordinates, and this is why I always end up in the middle of the ocean on the map.
So, question is, do I have the good code for getting gps coords or is there another way to do it.
Thanks in advance.