Topic: Location Services Not centering On location
Hello again,
Sorry to bother you again but I'm using location services and I want my marker(showing my present location) to be centered on the map when found or location changed, however when it starts up, even though it's showing my location at the right place with the marker on the map, the map centers a little off of it, in fact it's not even in view I have to zoom out to see it. Any ideas? My GetLocationScript is simply
void Start () {
OnlineMapsLocationService.instance.OnLocationChanged += OnLocationChanged;
}
private void OnLocationChanged(Vector2 pos){
// OnlineMaps.instance.SetPosition (pos.x, pos.y);
OnlineMaps.instance.SetPositionAndZoom(pos.x, pos.y, 17);
}