hungio / route-me

Automatically exported from code.google.com/p/route-me
0 stars 0 forks source link

Map tiles not showing..... #159

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Concern,
Well in our project we cant see the tiles of the map. Other things like 
dragging, zooming, tapping the Map, plotting pin points as well as there 
delegate methods work fine in project. And in this project we don't have any 
run-time errors...
We had also attached the output for the same.
Please guide us.
Thanks & Regards,
Zahur

Original issue reported on code.google.com by zghotlawala@gmail.com on 8 Dec 2010 at 9:07

Attachments:

GoogleCodeExporter commented 8 years ago
To solve it just send all messages in main thread. Like instead of:

[mapView moveToLatLong:coordinate];

create and use function:

[self performSelectorOnMainThread:@selector(moveMapTo) withObject:nil];

/// Call this function in main thread to ensure correct map reaction    
-(void)moveMapTo{
        [_mapView moveToLatLong:coordinate];
    }

It should resolve your problem.

Original comment by vit...@gmail.com on 16 Feb 2011 at 10:34