// If the location is partially incomplete (e.g. coordinates are missing, or country / city / region), then some of this information will be returned by the weather update, but we may need to consider reverse geocoding here as well, if needed.
iflocations.count>=maxLocationsCount{
log.warning("Adding new location, although the location limit is exceeded. New total: \(locations.count+1)")
// This may happen if a location is added from a push notification.
...
...
@@ -115,9 +117,26 @@ public class LocationManager {
self.delegate?.viewModelError(model:self,title:nil,message:"To keep your 1Weather running in tip-top shape, please limit the number of locations to 12.".localized)