In my project, I have ViewControllerone in which I show a map ( GMSMapView) with many markers, at some point I save the coordinates of the markers, because I want to show a map with markers when the device is offline. Is it possible with google maps sdk? I did not find anything other than saving coordinates when you are already offline. This is my code to save coordinates.
NSData *json = [NSKeyedArchiver archivedDataWithRootObject:objRespuesta.respuestaJSON[@"data"]];
NSLog(@"%@",json);
[OSPUserDefault guardarJson:json conPath:path];
But when I go offline, I do the same as online, but the markers do not appear on the map.
source
share