public static function getMarkersWithLocationsByCity($city) { return $markers = Marker::with('locations')->where('city', '=', $city)->get(); }